Why would China need allies, China has the same number of citizens as the Collective West combined and a greater industrial capacity.
And US will get very little help from EU against China, and the EU itself is already socially and economically damaged enough and unusable from dealing with Russia, they lose around 5% industrial power per year.
They are waiting for a chance to get freed from the US occupation which destroyed them economically, socially, politically, geopolitically, themselves, and they will jump ships as soon as US attacks and start losing against China during a hot war, not help them.
The US is 330M racially, ethnically, ideologically, politically, financially, divided population with falling economy, education, tech, etc.
They have falling subject ratings, falling IQ scores on top of them already being lower than China's, falling high-quality research papers and patent shares globally to China, etc.
Of course the US would need allies and focus outward so much, but China can afford to focus inwardly, and be more stable thanks to them already being so powerful on their own. And it's always better to be inwardly focused, than on the verge of civil war like the US.