As we face staffing shortages and the limits of human analysis, AI is expanding our approach to mental health.