China threatens to respond "firmly" to the new US restrictions on electronic chip imports.