Neither does Apple. Beyond providing initial download the apps run on phones paid for by users and any back end runs on servers paid for by developer.
Apple hosts the apps binaries and provides the services for reviews and payments.
If they don’t like it they can focus on Android, and if iPhone users don’t like apple’s policies they can switch to android or pine phones as well.
I assume you’d feel the same way if your cellular networks or internet provider started charging fees for all purchases using their networks. How about a refrigerator monopoly charging for food you put in your refrigerator?
Not really the same. It’s be more like complaining that you have to pay to put your games on the PlayStation store or sell them at Walmart.