Am I missing something here?
You are assuming Apple is a reseller (whose revenue is the full price paid by the end buyer) rather than an agent (whose revenue is only their commission).You are also ignoring the app store's advertising revenue.
And you're assuming that it costs zero to run the app store.