The German government was a good deal because it would kill 2 birds with a single store: it would attract investments in a (debatable) lower cost via subsidies plus the site would be placed in East Germany in the 13th/16 poorest state is Brandenburg that converges to the big plan of the federal government to develop east Germany [2].
The whole process from the announcement until the end of gigafactory construction was "controversial" at least [3] but they made it.
I do not want to go to the avenue of the ideological antagonism of those groups with Elon Musk, using a bit of hindsight bias I think that Tesla right now should regret not opening this factory in Poland [4], the Czech Republic or Hungary are places where the production costs are lower from the working force perspective and energy perspective.
Considering energy prices, in Poland has 0.1769 EUR/kWh and Germany has 0.4125 EUR/kWh [5].
Even inside Germany they could have a way better pick in other states in the East as Thüringen, Sachsen-Anhalt, Sachsen. Those folks would have a way better reception than the population between the border between Brandenburg/Berlin (where the Gigafactory is located).
I would be surprised if the situation continues to deteriorate, Tesla will move to Poland in some point in future.
[1] - https://www.worldatlas.com/articles/the-richest-and-poorest-...
[2] - https://www.reuters.com/technology/taiwan-chipmaker-tsmc-app...
[3] - https://www.theverge.com/2022/9/26/23372783/tesla-gigafactor...
[4] - https://www.telegraph.co.uk/business/2023/10/09/poland-vying...
[5] - https://ec.europa.eu/eurostat/statistics-explained/index.php...