Investors believe that the electric car company led by Elon Musk will benefit from his support of the president-elect.