This, like many other arguments that attempt to downplay the role of taxes in economic incentives, attempts to turn a continuous variable of interest into a binary one.
The weaker the profit potential in the EU, the less companies will invest there. The effect of higher taxes can't be reduced to "leave or stay." Moreover, the diminished incentive to invest would also to apply to potential replacements for these companies. So, very hypothetically, if Google spends $100 in Europe and they leave when they decide investing less $50 isn't worth it, the next company taking their place will likely only want to invest $50 rather than the $100 you were already getting from Google. It's still a loss unless you want to assume both that Google's replacement would be European and protectionism is a wise economic strategy.