The root issue was that Microsoft preinstalled the (free) Internet Explorer at a time when other web browsers were commercial. Netscape Navigator in particular was free for personal use, but Netscape wanted a fee for business use.
That was the original sin of the monopoly: Microsoft used its dominance in the operating system market to take over the browser market at a stroke. They compounded on this with "embrace, extend, and extinguish" practices, where they would introduce and maintain IE-only web extensions to the detriment of existing and upcoming standards.
You still see the modern legacy of this with Internet Explorer 'compatibility mode' hacks, since it turned out that Microsoft itself became stuck in its own morass.
There's no reason Apple should be allowed to force Safari exclusively on iOS. We had an entire anti-trust decision about this - https://en.wikipedia.org/wiki/United_States_v._Microsoft_Cor.... It should be bog-standard-illegal, and Apple deserves an equally bad rep for this.
* Using secret API calls to make sure their software ran faster than the competition. If you had a database server or spreadsheet application you could had a myriad of choices in the early 90s but the fastest, stablest one was always from Microsoft.
* OEMs could not change the default browser. Even when given money to install an alternative the default OOB browser was required to be IE.
Early Macs had no browser at all and at <5% of the PC universe they had no monopoly status. Before Safari Apple used MSIE as the first browser. Firefox and Webkit weren't ported over until ~2005. And long before the Apple App store the only application on iOS1 and 2 was the browser. It didn't have apps as we know it today. It would be hard to prevent them from including the browser since it shipped with the device day 1.