Curious - why would it be unconstitutional?
There are plenty of laws forcing companies to engage in certain kinds of behavior. The latest I've seen is the beer manufacturing / distribution / sales breakup as a result of the post-prohibition policies. Manufacturers can't distribute, distributors can't sell to consumers and so-on.
I think people might not tolerate such govt interference, but assuming it's law I don't think it'll be unconstitutional.