AI might seem like something built for Silicon Valley tech giants, but nonprofits are beginning to discover its immense potential.