Former prime minister says US would ‘scuttle itself back to San Diego’, leaving Australia to deal with retribution from China