China buys US debt as a balance against the fact that they export so much in goods to the US.
If China and the US were to get into conflict, the cesation of exports would balance out the US's cancelation of debt.
It's not as big of a motivator as you think.