At 50, Apple is navigating an AI transition it didn't start — and its numbers reveal a company more skilled than most at playing long