World's richest man Elon Musk said Wednesday he felt "pretty foolish" for donating nearly half a billion dollars to failed campaigns in recent US midterm elections, backing right-wing Republicans in races that were largely won by Democrats.

"I feel pretty foolish about having spent so much money and not seeing much for it, or maybe it would have been much worse without that," Musk said via videolink at the New York Times Dealbook conference.