Apple could have built new facilities literally anywhere they wanted. So should the international government pass a law against the US having lower taxes than France? The only people that should have a say in the tax rate of a place are the people paying the tax rate of a place.
Denver never had it in the first place. Money not earned isn’t the same as an actual cost. The people of Denver are in exactly the same shoes they were yesterday; they aren’t worse off.
And why should the federal government tell individual cities how they should tax? I’m afraid you don’t understand what federalism is, nor freedom for that matter. If a hypothetical Austin wants to give Bezos the key to the city what business is it to the people of Boise? Boise didn’t lose anything.
Let's say that Apple pays municipal tax of $X-$Y to Austin because of incentive $Y instead of $X to Denver (for example)
Then Denver loses $X while Austin gains $X-$Y and Apple gains $Y. Sure, the Denver loss is only theoretical but Apple has to build somewhere so American municipal taxpayers lose as a group. A "race to the bottom" has real costs.
The municipal governments are behaving rationally; it's the federal government who represents all municipalities as a collective; they're the ones who should be passing a law banning this type of behavior.