Tesla’s stock was on the verge of a technical breakthrough. Then Musk and President Donald Trump had a very public fallout.