It’s not illegal to be a monopoly; it’s illegal to use your monopoly to profoundly disadvantage your competitors.
An example was Microsoft threatening to cancel HP’s Windows license if they bundled Netscape Navigator instead of Internet Explorer back in the browser war days.