The Cupertino-based tech giant credited its artificial intelligence (AI) integration and stronger Mac and iPad sales for the ...