A shareholder has filed a lawsuit against Tesla CEO Elon Musk, alleging that he sold shares worth $7.5 billion while having insider information about a production error.