I think China is getting frustrated with the war actually - Ukraine has been a partner in defence development, energy and agriculture as well as a larger supplier of certain raw materials to China.
I suspect China thought that the conflict would be over fairly quickly one way or the other, possibly even interested in it as a litmus of how the West would react but now it is more of a problem for them than anything - hence their change in stance in voting on recent resolutions, etc. they probably were betting on it being business as usual, potentially even more so their advantage if Russia took the country, well within 2022.