Bill Gates privately said he had donated about $50 million to a nonprofit organization supporting Vice President Kamala Harris, The New York Times reported, citing three people briefed on the matter.