Shares of the world's most valuable company approached an all-time high.