It's obviously not 30%, because on top of this you better pay for ads on your app name or have your competitor show up on searches for your app.
I always had a mild smile for the tales of the "secure refined Apple store" but seeing the reality has been a bigger shock than I expected. It's a scam haven.
I would say there isn't such a thing as "the right amount of profit margin" as much as there is "the right way to secure a profit margin". The more your margin is able to exist because competition isn't allowed the less right it is, be it 1% or 99% in absolute terms.
The market obviously exists. Apple is the seller, numerous other businesses are buyers, and they are buying, hence the current amount is an amount "the market" is willing to pay.