system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Apple is forcing every iPhone to have installed "Apple Music" once it comes out. Didn't Microsoft get in legal trouble in years past for having IE on every PC, and also not letting the users have the ability to uninstall?

Or am I missing the entire point of what happened with Microsoft being court ordered to split?
(Apple Music is just one app, but I hope you got the point)
gpt
The main reason is the way the law treats both companies.
Microsoft was a software only vendor in the past but Apple is the hardware and software vendor.
US and EU laws dictate that the hardware manufacturer to have full control over the ecosystem becuase of the industry behaviour in the past and who the end-consumer pays his money to. 

The IE case: Microsoft was accused of using it's monopoly status in the software industry and force the hardware vendors from changing the default browser to something not made by Microsoft beause back in the many hardware vendors included netscape with the preinstalled windows' PC's. Since the EU laws treated the hardware vendors as the ecosystem owners Microsoft ws violating the law by forcing it's will on the PC manufacturers allegedly threatening them of not allowing preinstalls if they do not include IE as the default browser. The EU law states that it's not a Microsoft ecosystem if the end-consumer pays their money to the hardware vendor(pre-installed systems only) and not Microsoft.

The Apple case: Apple is itself both the software and hardware vendor and the end consumer pays the money to Apple for their services and agrees to their services agreement. Apple can have full control over what their hardware will have and won't have. 

This is not related to marketshare of Apple or Microsoft but related to who is the hardware vendor.

Edit: Microsoft argued at the time that they are not forcing manufacturers to use IE as the default browser but IE is an integral part of the operating system and hence microsoft did not give an uninstall button. The EU was not happy with this explanation and fined them for unfair practices.