Sure, let's do the math:
The average cost of manufacture is a PS5 is $450, the cheap version of a PS5 is $399, so a $60 loss. The platform takes a 30% commission on games the are priced >=$69.99, so at three games per machine they're making a profit.
The average cost of a game on iOS is 48c. Apple takes 14.4c, all that money then does things like supporting devices long after they were sold. Unlike google apple doesn't monetize its users: google continues to make money after devices are sold because the platform itself exists to help their ad business, that means android would still make money for google if they didn't even have their own store.
Add to that apple providing actual major software updates for devices more than 5 years after they were sold - not just security fixes - and I would argue that apple has a greater justification for their commission than Sony or MS do.