China benefits from destabilizing the US, but NATO in general does not concern China, because, unlike Russia, China doesn't have its sights set on conquering Europe. If anything China would have preferred that Russia didn't invade Ukraine, because it's (slowly, slowly, slowly) putting the US on a war footing and eroding the advantage in inertia that China currently possesses over the US. Fortunately for China, Congress includes enough Russian assets that the resulting political deadlock seems likely to continue paralyzing the US, to China's benefit. If the US doesn't miraculously turn around its legislative (and, potentially soon, its executive) obstructionism, then Taiwan will probably fall to China, regardless of the intervention of the US and its allies (with the only hope for Taiwan being a sudden onset of incompetence from the Chinese military).