Shares of former President Donald Trump's media company jumped as he won the contentious presidential election.