CorvusRuber I would argue that Apple's main focus is services, mostly on the software they build and optimize for their hardware. iPhone sales are still high, but the US is their main market and it's starting to hit a saturation point. You can see the pivot to services and software with the announcement of the Apple One bundle, News+, TV+, and Radio that they've been pushing.
Like you said though, the software is almost entirely optimized and dedicated to the hardware they produce also.