China has threatened a robust response if the United States boycotts next year’s Winter Olympics in Beijing.