Researchers in social and clinical psychology say self-compassion practices can help people cope with loneliness tied to the AI-driven technology boom.