I'm not sure that's true in the long term either, an invasion might not be possible, but what's to stop China bombing enough power plants and other infrastructure to send the country back to the stone age and invading after everything fallen apart? Even the bombing part they might not have to do directly, blaming it on some terrorist group.