Musk trial opens a peephole into the Tesla CEO’s often inscrutable mind