Apple becomes the first private company to surpass $1 trillion in stock market value following its latest surge after strong earnings.