US President Donald Trump called for the end of the visa lottery system and chain migration, a day after a Bangladeshi man with US residency detonated a bomb in New York City.