I'm not sure that's a direct comparison. Back then sure you could get shareware but mostly the market was paid boxed software. I can't find a direct source but I remember hearing brick-and-mortar retailers would take even more than 30% of sales. And Visual Studio sure wasn't free.
Everything was different though, you'd be paying for your OS upgrades too which doesn't happen on iOS. I agree 30% is crazy, but the market on iOS they're enabling has to get paid for somehow. That source of revenue was different for Microsoft in the 80s/90s but it still existed.