PARIS—Ask someone today whom they turn to when feeling anxious or struggling to sleep, and increasingly the answer is a chatbot, not a friend or a...