> For example, how do you stop a company from buying publicly traded shares, which is basically buying a company
What do you mean, how do you stop? All this is regulated. Just make it a regulation can a company can't buy shares. I'm not saying it's a good idea, but the notion that it couldn't be done is nonsense.