They’re not even in the same league as what MS was doing. At the time of the EU vs MS suit they had a 91% market share, and had only recently come down from a fraction over 95%
THAT is why the EU took action. Apple isn’t in a monopoly position in phones at all, they’re not even the dominant OS.
What they are, is the one that makes the most money.
As far as EU jurisdiction goes the only stat that matters is the EU. If Apple had 100% of market share in the US, the EU would still have no governing power.
Based off what I found through a quick search, in Q4 2022 Apple has 29% of smartphone shipment and they have about 38% of mobile OS share. Not tiny, but not dominating the market. Back when Microsoft was being prosecuted, they had >95% of desktop OS share, approaching 99% in some places, and they were accused of leveraging that to muscle out paid-for software vendors that sold directly competing software (both operating systems through exclusivity agreements with OEMs and application software on Windows).