Apple's revenue and EPS exceeded estimates, but iPhone revenue and China sales missed expectations.
Tim Cook discussed AI and more in an earnings call, following Apple's historic jump to a $4 trillion market cap.
The stock initially dipped 3% before rising 5% after hours.
Apple planned to increase its capex spending in the holiday quarter, driven by expanding AI investments.
Author's summary: Apple's earnings beat estimates despite China struggles.