A foreign ministry spokesman said Donald Trump’s tariffs harmed the stability of global production and supply chains.