Apple said that it will ban AI apps that don't moderate offensive content.