I mean if your energy prices have dramatically increased, then it stands to reason that these inputs are factored into the cost of goods produced and inflates the on-paper value of this production which then gets added to the GDP.
Edit: Also, even putting pure raw manufacturing power aside, it's hard to conclude that the EU has a stronger economy than China when even the entirety of its digital services space depends on US companies when China has a full spectrum suite of digital services that matches everything the US has created, 1 to 1, created by and run by Chinese companies. Really this GDP differential is just a reflection of energy costs as I stated above, ECB money printing activity over the last decade and their hawkish interest rate policies. Even Trump has bitched about this.