First they invented the smart phone and App Store. That gives them a right to rent seeking by most people’s standards for a particular period of time. It’s why we have patents. Perhaps you think 16 years is a long time but then Mickey Mouse’s patent expired recently.
Second they managed to stave off competition and still maintain a large market share. Smartphones had a large number of companies get into this business, including all of big tech at one point (remember fire phone?) and yet Apple has not barely managed to survive, instead it dominated. That has to count for something. The real problem is this society instinctively sides for the little guy and against the big guy. Sometimes that makes sense, but just like you wouldn’t try to change the rules to reduce the amount Roger Federer earns, there’s no sense in trying to hobble a winning dominant company like Apple. Even as a developer (who’s never worked for Apple), I think developers should just deal with it even if it sucks because I prefer a society where winners get to win. If your product is good enough, you can make users work to pay you and still be a market leader (think Netflix or Kindle store, both of which I buy from my browser).