Researchers have built an AI assistant that uses data from smartwatches, smartphones, and earbuds to detect changes in emotional state and offer more personal mental-health support.