You are saying that as if China or the US are completely isolated from the EU. We live in a globalized world whether you like it or not, and every supply chain spans multiple countries.

Arguably, staying out of the AI "race" is a good thing

Military race isn't a good think either, but you don't want to be on the losing side.