Valuations matter a lot when making investment decisions, and Apple looks much cheaper than Microsoft.