Beijing has reacted to earlier Canadian levies with new duties on food products even though both are facing Donald Trump’s tariff threats.