This is bad analogy. A person who works provides services or labor worth a certain amount of value in exchange. Often that value exceeds the wage. For example, a software engineer $3000 "worth" of work in a day, but only gets paid around $1000 for that day. I understand the worth/value is a difficult thing to measure.
In Apple's, they provide almost nothing of value in exchange, other than the threat to kick your app out of the App Store: https://www.theverge.com/2020/8/13/21366438/apple-fortnite-i...
So Apple is more like the Mafia. The threaten negative/adverse action, if you don't pay them.
Also, historically, software could be installed on computers without the permission of an overlord. I'm aware iOS & game consoles are glaring exceptions.
And the argument that Apple is like the Mafia because they can exclude you from something would cast most businesses and all landlords as Mafia-like. That is a position some people hold, but if mafiadom is so embedded and accepted in society it undermines the idea that Apple's is a unique problem and that it will be acted on.
Just based on your quote and without having much interest in the case... the fee isn't about covering costs. They have an app store, people want to be in the app store, and Apple is going to charge them a fee to be in the app store. Similar logic to drawing a wage.