Facebook is looking to use artificial intelligence (AI) to help detect suicidal thoughts and feelings.