Well AAPL and MSFT are two different ball games. AAPL hit the jackpot with iPhone, post iPhone Apple has been a second coming of Apple, its no longer the same company for investors.
For investors, due to consistent profitability and revenues, MSFT is a safer bet than Apple which reflects in the returns.