Selling commercial database software to big enterprises seems to work in practice for Oracle.
You are free to volunteer your time to Amazon, no one is stopping you. They would probably accept cash donations as well.
It's not insurmountable. Lots of companies have been built on AGPL or adjacent licenses. It's just a meaningful hurdle. People can do whatever they want, your framing of "oh just give your money to corporations" is ridiculous as I'm not advocating for anyting like that.