Shares of Apple shot higher Friday after the company’s latest quarterly results came in better than analysts expected.