Mexico erected sprawling tents on the US border as it braced for the effects of Donald Trump’s mass deportation drive.