What you are presumably referring to is transfer pricing, which is a completely different beast.
Edit: Sadly, I think these kinds of battles are rather one sided.
It's practically unthinkable that a company like Apple/Amazon/etc is going to create an expensive, complicated international legal structure to conceal wilful infringement of some open source licence.
It's perfectly achievable to write a licence that forbids use or incorporation in products, servers or services from particular companies.
There are all kinds of ways you can write a license that won’t be used popularly but would achieve this specific goal. Do you want to close “your” software off to companies who might seek to be acquired later?
I do not have the motivation to lay out my full argument as that would take another entire paper, but even if it turns out to be not as hard as I think it is, it certainly isn't as easy as is posited here.
The risk is far more likely to be inadvertently making the licence overly narrow and preventing usage by companies that you would actually intend to allow (or at least contemplate should be allowed).
Regardless, the text doesn’t really matter. Most companies will run for the hills as soon as they see anything remotely like the contemplated licence. It’s just not worth the risk for them.
Source: former lawyer.
In the same way that it's trivial to write a twitter clone in a weekend, yes.
Hundreds of goverments have tried for decades to do what you claim is trivial. Good luck.