Apple moved closer to becoming the first US$1 trillion (S$1.4 trillion) company on the stock market after sales of higher-priced iPhones fueled better-than-expected quarterly revenues and profits.