Microsoft bundled IE with Windows at a time where the internet was still painfully slow and it was difficult to download a different browser. They also allegedly put IE-specific APIs into Windows, giving it an unfair advantage.
However, neither of these would have been enough to convict, if Microsoft hadn't also had a monopoly over the PC. Back in those days, Windows was _the_ operating system. Linux was still new and unknown, and Macintosh wasn't a threat by any means. Bill Gates was sometimes compared to the president in terms of power and influence.
Bundling Windows and IE was an abuse of Microsoft's monopoly in the OS market, in a successful attempt to take over the browser market.
Apple has no such monopoly. Like many others have said here before, if you don't like what they do with their platform you can choose not to buy apple products. When you say they're being anti-competitive, you're implying that iOS and OSX are massive ecosystems which include meaningful competition in sub-markets that Apple is giving itself an unfair advantage in. No such sub-market exists.