Bundling per se isn’t a problem. It becomes illegal when a firm uses market power to destroy competitors. If you’re interested in learning more I suggest reading about the Robinson-Patman Act (1936) and Clayton Antitrust Act (1914) as well as the Sherman Act (1890)