On Thursday, the world got its first glimpse of what Apple’s artificial intelligence technology has meant for iPhone sales.