Main problem, not just from Apple, is that as phone tech gets standardized and more long-lasting the software support cycles have not gotten longer.
It is abysmal that Android phone makers still need to customize the OS so much for their hardware. Apple has no incentive for longer support cycles if Android does even worse on it.
It has always been like that since CP/M and commercial UNIX days.
Vertical integrations like everyone sell a product, a brand, a whole ecosystem experience.
If all OEMs sold the same CP/M, UNIX, MSX, MS-DOS, Windows software stack, on the what is basically the same hardware with a different name glued on the case, they wouldn't get any brand recognition, aka product differentiation.
Thus OEMs specific customisations get added, back in the day bundled software packages are part of the deal, nowadays preinstalled on the OS image, and so on.