China has lashed out at the United States over its new sanctions against 14 Chinese officials for their actions in Hong Kong.