FWIW, Google (illegally? according to Epic, anyway) blocked Epic's attempts to address this through partner deals with phone manufacturers, so their hand was relatively forced.
If Google and Apple didn't require all installs to go through a blessed path, people would just type "fortnite" into their search engine of choice and install that way instead. Of course, Google & Apple have good reason for not allowing that, but in the case of Fortnite they really are not delivering much for the 30%.
More importantly, Google does not prohibit sideloading. It simply does not make it convenient to do it.
In essence Apple is running an Apple App incubator :) Getting 30% of anything, anybody ever makes on it, with basically no risk on it since the actual cost of reviewing the apps and hosting them is pretty fixed.