China is seeing that people who live in democratic countries have been given a timely reminder about how valuable that is.
They will fight to protect that status. And over the medium to long term, they will reorient their economies so that they are not dependent on autocratic countries.
The Chinese aren't dumb enough to pretend their economy wouldn't collapse if they got the sort of embargo Russia's seeing. Their #1, #2, #3, #5, #6, and #7 top trading partners are all US or US allies.
The United States would also face huge shortages and other problems if they couldn't trade with China. China also realizes that too-- it's a two way street. Globalization makes everyone vulnerable