The difference is desperation. Putin was facing instability and was afraid of ending up like Khadafi. He needed a war.
Xi is not facing those challenges. He wants Taiwan, but the Chinese play long games so he can wait.