In the olden days, when Apple was much smaller, they were ironically freer to just make the best device possible because success would be meaningful in very small markets. The OG iPod saved them despite selling relatively tiny numbers. Nowadays, markets that used to matter significantly to Apple -- education, media, creatives -- are allowed to wither and die because they are a blip on the bottom line.
I don't see what could change that, though. They now prioritise growth/financials/share price over pure products in a very calculating way, but what corporation doesn't? You need an exceptional mandate to do otherwise, and only the Bezos's and Jobs's of the world get those.
So the pity is that as a result we'll continue to see Apple pushing hard into services and (probably) media, because that's where it can smell growth. That might keep the numbers up, but I suspect it's going to transform what Apple is even further away from the "make great products" company we knew into ... something else. (Probably something less great, given their track record with services, tbh.)