Republican President-elect Donald Trump pledged to be the "President to all Americans" as he stunned the world by defeating favourite Hillary Clinton in the race for the White House.