The problem is that computers (whether running AI software or not) don't have any understanding of right or wrong, or context. These image recognition AIs work by looking for patterns in the image. They see one that looks like (say) a vagina, and they have a similar pattern labelled with an offensive word, they aren't going to know that word is offensive, because they don't know the concept of offensive. They are going to find the matching pattern in their dataset, and return the label.
Even the various Intelligent assistants (Google Assistant, Siri, Alexa, Cortana, Bixby etc) don't really understand context or right and wrong. They have a set of defined words and sentences that would be considered offensive, and a set of patterns they can use to fake an understanding of context. E.g. they know that if you say "Send a message to", the next thing you utter will likely be the recipient and following that, the message. You may even be able to get them to sing a song, or tell a joke, but that is all pre-programmed.
The difference with children is, generally, they do know the difference between offensive and not offensive, and can understand context. Sometimes with help, but they can understand it.
I suppose the TLDR of this post is that while AI has come a long way in the last 30 years or so, unless Google, Amazon or one of the other tech giants is way more advanced in AI than they are admitting to, and they have a true AI (one that doesn't just look stuff up on databases, but can understand context and right and wrong) running in a data center somewhere, I think we are a long way (decades) from the kind of true AI we see in sci-fi (e.g. the talking computer or android in any one of a number of Sci Fi films and shows).