After N years and M thousands of jobs created, MamaCorp decides that performing some production process in PoorCountry is much cheaper, so it decides to leave... unless VeryLowTaxCountry keeps the taxes very low. At that point, it's not anymore such a good deal (if you're HSBC, you even get a free pass for doing any crime you prefer, without going to jail).
This, not taking into account, let's say, that MamaCorp sets up a subsidiary in VeryHighTaxCountry, with very high profits. That profits though, are entirely funneled to the shell company in VeryLowTaxCountry, so that it pays no taxes in VeryHighTaxCountry and little taxes in VeryLowTaxCountry.
I'm mixing concepts here, but let's not forget that MamaCorps have a huge leverage because of their capitals, and because of their creative accounting strategies too, so deals like this need to be analyzed with extreme care and doubt.
PS: If your corporate tax rate is zero, then your country is often better off discouraging foreign investment.
Here is the HMRC specifically warning against this exact scheme and telling you they will tax all your money later and fine you:
https://www.gov.uk/government/publications/spotlight-26-cont...
So definitely not in the UK.
If I'm running a successful company and need to build a new plant, why shouldn't I seek out the best deal I can get?
The main problem with this sort of "competition" is these tax breaks for big companies creates a very unfair competition for small companies, which doesn't operate on the required scale to profit from them.
IMO tax breaks like these are completely backwards most of the time. A huge corporation like Starbucks has entire departments dedicated to doing their taxes and finding loop holes to save money. The last thing they need is to pay less tax to begin with. If anybody is going to get a break, it should be small business owners.
The one place tax break incentives make sense are for large, one off things like a big manufacturing plant, where there will only be one (or just a few) of them, and getting it in your country or state is a big win. But there's really no reason I can see to incentive putting coffee shops on every other corner.