Agreed, what many people seem to overlook is that without trade with the US, China is nothing. The Chinese economy, and therefore their military, relies on trade, mostly with the US.
Remember how quickly Japan was able to turn things around, and they were in a more backwards situation that China is now.
And withouth loans from China, the US gov't would already be totally insolvent.