Tesla’s billionaire CEO Elon Musk took the stand in San Francisco federal court Friday to defend a controversial 2018 tweet in which he said he would take the electric vehicle company private, as part of the high-profile civil trial waged against him by Tesla shareholders over the notorious incident that cost Musk and Tesla millions.