I think the real reason is that when the Apple store was started, they looked around at the current prices for "software distribution". Retail was like 70%, and other app stores; for example the Danger Hiptop / T-mobile Sidekick charged 60% for their apps store, and the carriers were worse. At the time, 30% was actually a lot cheaper than everyone else. Then I assume Google just copied Apple.