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