Yes, Elon Musk tweeted he would donate $6B to fight world hunger

In 2021 Musk told the UN's World Food Programme that he would donate $6B to solve world hunger if they could share a plan on how they’d spend the money. They did.