It has become a trusted companion for millions of teens. But it’s not a person. It’s an algorithm powered by artificial ...