Mexico has sent the first of 10,000 National Guard officers to the northern frontier following tariff threats by US President Donald Trump.