Apple predicted that its new artificial intelligence features will spur iPhone upgrades in coming months, helping the company reemerge from…