President Donald Trump warned on Thursday that there could be a government shutdown next month over security on the border with Mexico, suggesting he could hold up a funding deal if no more money is provided for a wall between the two countries.