“If you’re in enough lawsuits, you pick up a few things along the way,” Musk said to the shareholder’s lawyer questioning him in an examination that often turned contentious.