The European Union is getting good at adapting to unprecedented circumstances. Over the last five years, the 27 member countries have pulled together to fund the purchase of tens of millions of vaccines and devised a massive recovery fund to resuscitate economies ravaged by the pandemic.
And additionally, China takes advantage and the EU starts doing more business with them.
China tried to keep itself very neutral in the Ukraine/Russia war (at least on the outside), and it even distanced itself from Putin in the last months. It would be a perfect chance for them to strengthen their economic ties with the EU.
Trump has really freaked up the soft power balance of the world. It was slowly decaying before, but he really pushed the Turbo button.