China vows to ‘counterattack’ US as trade spat worsens