I don't have a very deep understanding of that topic, but it's possible to regulate those companies a bit. In the EU similar things were already done for the car industry. The manufacturers are required to allow third party repair shops the same access to documentation, diagnostics software and parts like their own shops (not for free, but for a reasonable price). And repairs at a third party shop doesn't void the warranty.
For computers, cloud providers and smartphones similar regulations could improve everybody's life by giving us more flexibility and cheaper products by creating more competition.
In the end apple is collecting a lot of money and seems to just put it on huge piles in their bank accounts. I don't see any reason to increase competition by introducing regulations. Give startups and smaller companies a chance!