Donald J. Trump has won the race to be the next President of the United States, handily beating Kamela Harris.