Thank goodness that wasn't the case.
Also, the web is not even a great analogy period since it wasn't created by a private company. Apple created their phones, their App Store, they maintain it, and they provide the infrastructure for it. That's nothing like the internet.
It would be like you using AOL and only being able to view the channels that AOL offered (which is exactly what it was). Apple has no authority to tell you what you can do with your device once you've purchased it but you also don't have the authority or the right to demand that Apple service your device if you jailbreak it or mod it.
This is literally the exact same situation as Xbox and PS4. Xbox doesn't allow people to play PS4 games on an Xbox. Is that anti-competitive? Is that anti-consumer? Is that Xbox having absolute authority over what you can do on your Xbox? Get out of here with that nonsense.