You can't just renounce it. It's a quite expensive process. And naturally, once you have, you no longer receive any of the benefits of US citizenship. Whereas the companies in question get to avoid taxes while retaining the benefits of being located in the US.
They're not doing business with another company in any meaningful sense. There's multiple companies set up with the same owners so they can pretend the one in the lower tax region makes all of the revenue, often through IP licenses that look like expenses to the entity in the higher tax region. It's financial engineering that doesn't reflect where value is actually being created or revenue captured.
I'm not a CPA, but my understanding is as a US citizen, your closest analog would be setting up an irrevocable trust. But, then you no longer have control of those assets. Owners of these shell corporations are able to effectively control their assets. Naturally, if they were legitimately doing business with a 3rd party company, they'd have no say over what that other company can do with their revenue. That's a key difference between what's a normal business operation and what's a shell game for tax avoidance.
I still don't see how you would separate legitimate use of the law from illegitimate if both cases follow the letter of the law. In the case of the double Irish, it's largely irrelevant because the US law was fixed under Trump, as was the Irish law. Even before, us owners of alphabet had to pay capital gains on any realized tax so there was way for an individual to profit.
I imagine we will have trouble finding common ground given that I think corporate taxation is a bad way to collect revenue to begin with.