They have monopoly power and control over app developers' access to iPhone users.
If supermarkets offered a loyalty card program that made it physically impossible for you to shop at another supermarket, then this would be a monopoly/anti-trust issue too, even if no supermarket had a majority share of the market.
The usual response of Apple fans is "You can just buy a second phone", but asking app developers to give away free Android phones to their iPhone-using potential customers is not really a viable competitive strategy.
If switching from an iPhone to an Android device required the user to jump through literal hoops, on camera, Apple fans would probably complain about governments forbidding hoop-jumping clauses in EULAs.
However, there are anti-competitive policies of Apple which burden not just app developers and users but Apple themselves, and it's really hard to justify their existence other than "monopolies are very profitable".
https://www.reddit.com/r/swift/comments/3d8koa/apple_rejecte...
https://www.ftc.gov/advice-guidance/competition-guidance/gui...
https://gs.statcounter.com/os-market-share/mobile/europe
Further, other phone companies start from nothing and become quite successful in market place, and some fail, but consider OnePlus - they decided to make a "Flagship Killer" and are still delivering high quality devices.