The platform fee of 30% is completely independent from the cost of running the store. The value of the Play store is the reach it provides app developers.
>> JOSS (Journal of Open Source Software) has managed to get articles indexed by Google Scholar [rescience_gscholar]. They publish their costs [joss_costs]: $275 Crossref membership, DOIs: $1/paper:
>> Assuming a publication rate of 200 papers per year this works out at ~$4.75 per paper
But that's for ScholarlyArticles without automated peer review.
(And then they need somewhere else to host their datasets, because journals aren't CDNs. And then they need someone else to host repo2docker container instances or repo2jupyterlite in WASM.)
When I loan my money to a bank, they go invest it and give me like a 1% interest rate.