Whether detecting rising anxiety or managing a full-blown panic attack, the tech industry is offering an array of new tools designed to support mental health.