Donald Trump was dealt an election nightmare on Tuesday as Democrats took control of the Senate and House of Representatives in a crushing blow.