As other commentators have said, this donation will definitely invite accusations of virtue signaling. What Amazon needs to do is pay (not donate!) its employees better but that's also stating the obvious.
What intrigues me more is that each era's barons find certain causes more appealing than others. Carnegie gave a lot of money to public libraries at a time when the printed word was expanding its reach. It's not surprising that Wikipedia is a favorite amongst tech tycoons along with education.