Shares of Tesla surged on Wednesday after NBC News projected Donald Trump to win the election and investors bet a victory would benefit CEO Elon Musk.