This could possibly endanger someone who is isolated or not in a good mental state.
Freedom of speech is not about things you want to hear it's about the uncomfortable things. You cannot possibly put prior restraint on free speech. Doing so means you would no longer have freedom of speech
After Thanos snapped half the universe away how many people saw that movie and commented that this might be a good way to confront what they consider to be overpopulation. Literally just go back and search hundreds of people we're thinking we should model population control after a stupid movie. Why do you think this AI would be any different than the dumbest humans on the planet.