Which begs the question, why should the EU see China as an adversary? That's mostly an American thing, the Pacific doesn't really concern us.
Maybe alliances will reshuffle in the future?
From the fall of the Berlin wall until the Ukraine invasion, the US saw Russia as more of an adversary than Europe saw Russia.
Yes, even after Russia annexed Crimea. In fact, it's only this year that Europe has started to significantly increase defense spending, three years after Russia invaded Ukraine. And, even then the most aggressive increase plans end up short of where spending was during the Cold War.
Every US president after Clinton (and maybe Clinton as well) urged European countries, especially NATO ones, to keep funding defense and they cut instead.
It turns out that the cowboys were right, that there was a bear in the woods, and that "soft power" wasn't power.