China warns of “unnecessary response” in case of trade war with US