Donald Trump has vowed to close down the US federal government if that is what it takes to build his wall along the Mexico border.