Using AI can be hugely beneficial to charities. It can save time, money and even help with service delivery. But it comes with risks. Here’s how to use AI for the common good