Sales of the iPhone, still the company’s best-selling product nearly 20 years after its introduction, were $56.99 billion.