President Donald Trump says that he will end the popular US green card lottery after a radicalized Uzbek man who entered the country under the program killed eight people in New York.