Why would China do this? NATO expending it’s arms and resources in a conflict with Russia in Europe means that hardware is unavailable for use in the Pacific theater.
There is no worse outcome for China than the replacement of a neutral/friendly regime in Russia with a pro-western one.
It's also one of the best outcomes for Russia.