The online generation is using artificial intelligence more and more, increasingly trusting the technology with friendship and mental health support.