OK, nevermind that China are struggling with massive real-estate and shadow banking issues that threaten collapse of their economy and serious global economic crisis. They may succeed, but it has been touch-and-go for years now.
And yes, their 'workshop of the world' initiative works when they can massively export at super-low prices, but that is ending for several reasons, in no small part due to the fact that they are an unreliable trading partner and have weaponized their trading position against partners in a variety of ways, including spying (e.g., Huawei), cutting off supplies (rare earths, etc.), and dumping goods under cost to corner markets.
You can get away with that for a while, and your numbers will look very good. But when you start to become a serious threat, you will find resistance. We are now at that point. China was supposed to have already surpassed the US as the worlds largest economy almost a decade ago. Now, it is no longer on that arc, despite having five times the population. Their BS is catching up with them.