I think you underestimate what a massive country China is and the scale of their military. Russia is already quite an adversary, but China is at an even higher level. By some metrics, they have already surpassed the US military.
So it is very unlikely that a neighbor will have the audacity to attack them, and even if this happens, i'd expect the war to be over rapidly. Just like if Canada or Mexico tried to attack the US.