Feeling lonely? Artificial intelligence can help with that in a surprising way