(1) German BASF is one of the manufactures for "semiconductor chemicals".
(2) More important: Getting parts from Malaysia (etc) is no issue as I don't think they plan to attack any neighboring countries in the next decade. Also, they did not start a trade boycott against Lithuania just over the name of an trade office.
Malaysia can still be a partner, however this is a big step that opens the door for replacing labor in distant countries with another EU neighbour. This is good for the entire EU.
Any of the things you describe can easily be replicated locally, fabs much less so.
Even more to the point is that it gives countries the chance to develop a high value competitive advantage that others cannot replicate.
Places like the EU would argue that they have the human capital to compete globally but they don't have the industry because of historical factors.
https://gamingnews.cyou/here-is-intels-plan-for-europe-a-pac...
And an R&D center in France
https://www.intel.com/content/www/us/en/newsroom/news/eu-new...