Leading national polls predicted a narrow lead for Kamala Harris, but Donald Trump defied the odds, clinching key swing states and shocking the nation.