Three decades with an avg GDP growth rate of something like 14% will have that effect.
World's largest middle class (by far, and growing, fast,) world's leader in renewables production, and many of their largest companies have gone international to similar scales as western firms (particularly construction- they are building everywhere.)
They certainly have a large debtload- 300% ratio to GDP. Considering the U.S. stands around 100% (Japan sits at 240%) but I tend to think that the Keynesian-on-roids approach the Chinese have taken towards government spending will continue working for at least the next five years, by which point the Chinese economy will be roughly equal to the US by GDP. I think it's also worth mentioning that G is far more flexible in China than just about anywhere, so spending priorities can be quickly addressed in a manner impossible in the US. Worth noting too that G for education in China is 3x G for defense.