The lengthy campaigns to protect kids on social media offer some lessons for those looking to protect children using artificial intelligence