Heck, the PRC just passed legislation that all technology transfers outside of China need final approval from the central government [0].
And as I pointed out above but you ignored, China does not view the EU as an equal nor as a potential partner. They just like the US are more interested in bilateral relations with individual states that are pliable to them instead of the supranational EU.
[0] - https://www.reuters.com/world/asia-pacific/china-toughens-ru...