Musk faces trial over a tweet that fueled—then sank—Tesla’s stock price