It would require a new set of laws to have anti-trust apply to ecosystems rather than only industrial/sector/field monopolies. At the moment Apple is free to do as they please.
There is competition in software, btw. You can buy an Android or Windows phone and get a completely different web browser in them.
Using something else if is a viable option for most people that currently use Apple products, where it wasn't for many in the case of Windows back then.
Until then, Apple is free to control 100% what comes into their platform.
The same way any other vendor is free to do (e.g. games consoles), when not covered by monopoly laws.
When they reach a size that falls into what the law considers a monopoly, then the game changes, as they have increased responsibilities towards the market.