Elon Musk expressed regret over spending nearly half a billion dollars supporting Republican candidates during the US midterm elections.