Facebook is testing AI that can detect suicidal comments and make it easier to get help, while its Instagram service recently started offering support to users when their friends report concerning posts.