One path for developers who don't want to make a charitable donation to their friendly Fortune 500 is to pick a free software license unpalatable to corporate lawyers and then charge corpos for a commercial dual-license.
You are free to volunteer your time to Amazon, no one is stopping you. They would probably accept cash donations as well.