Lots of options
Not everything has to return money.
You mentioned only 2(grants are also academia) and most NGOs don't hire SW devs. That's hardly "lots", basically none out of academia.
>Not everything has to return money.
But then where does that money they give you come from?