Asked if he had any regrets about his political activities, Musk said: "I did what needed to be done."