Apple’s latest AI-infused iPhones beat analysts' sales expectations for the quarter, pushing the tech player’s earnings past Wall Street estimates.