Elon Musk’s outsize reputation, provocative remarks and his friction with a federal judge have dominated the trial in his ...