President Trump has threatened Mexico with a tariff on all goods shipped to the US, demanding the country stops what he says are illegal immigrants crossing the border.