Elon Musk regrets significant campaign donations to Republican candidates after the US midterm elections resulted in Democratic gains in Congress.