Right now, the U.S and Europe are struggling to refill their ammunition. The (long) Ukraine war actually benefits Xi in certain way because of it.
All of Europe is increasing defence budgets and ramping up production of new equipment and ammunition. If Xi wants a weak NATO, the Ukraine war was not a good thing at all.