Real-world AI for mental health, crime prevention and the environment