This works only because EU is a relatively big and wealthy economy. If, say, Chile or Botswana tried to do the same, US companies would be like “lol, bye”. If, or when the Europe becomes just as poor as these relative to US, the incentive for US companies to stay in Europe and pay these ridiculous fines, will simply not be there, and so they will leave.
Thus, if Europe’s strategy is to impose more and more strict regulations and taxes on US companies, it must return to growing in wealth in power. Otherwise, this strategy will backfire: not only Europe will stay poor, but also the highly productive companies will exit it.