How about the three fabs that Bosch has in Germany? Or Infineon, X-Fab, Globalfoundries, TI, Prema, Elmos (now Siltech), Vishay, Nexperia?
https://en.wikipedia.org/wiki/X-Fab
"The X-FAB Silicon Foundries is a German group of semiconductor foundries, with headquarters in Erfurt (X-FAB Semiconductor Foundries AG is located in the south east industrial area between Melchendorf and Windischholzhausen). The group specializes in the fabrication of analog and mixed-signal integrated circuits for fabless semiconductor companies, as well as MEMS and solutions for high voltage applications."
And:
https://www.apple.com/uk/newsroom/2021/03/apple-to-invest-ov...
"Apple will invest over 1 billion euros in Germany and plans European Silicon Design Center in Munich"
They do only care about short term profit. They triggered the chip crisis in Germany by stopping there orders and then restocking. I am not sure if any government can fix this.