Investors sold off shares in Tesla on Thursday, as tensions erupted between boss Elon Musk and US President Donald Trump.