that is an ethical and business problem, not entirely a legal problem (currently). hopefully, it will universally be a legal problem in the near future, though. and frankly, anyone paying grok (regardless of their use of it) is contributing to the problem
It is not ethical to wait for legal solutions and in the meantime just producing fake child pornography with your AI solution.
Legal things are amoral, amoral things are legal. We have a duty to live morally, legal is only words in books.
I live morally. I assume you do - the vast vast majority of reading this comment will not ask AI to produce child porn. However a small minority will, which is why we have laws and police.
If you have to wait for the government to tell you to stop producing CP before you stop, you are morally bankrupt.
It's only an ethics and business problem if the produced images are purely synthetic and in most jurisdictions even that is questionable. Grok produced child pornography of real children which is a legal problem.