Donald Trump defeated Kamala Harris in a remarkable comeback that will return him to the White House for a second term.