The creator of Fortnite has laid off more than 1,000 staff – despite billions in revenue
(www.theguardian.com)
Your argument would be valid if Apple allowed any other app marketplace on iOS. They force all apps to use their app store. That's the definition of anticompetitive behavior. Apple wants to force everyone to use their app store and get a cut of all their transactions, that's some corporate mafia extortion shit.
Epic sucks, but Apple is/was completely in the wrong there. Google is at least less guilty, as you can still install apps from outside the Google app store on android.