Gates privately said he donated about $50 million to a nonprofit backing Harris in the 2024 election, according to reports.