There's a difference.
Both of those scenarios are meaningfully regulated under the law. (Specifically revenge porn, misusing a person's likeness, and stabbing people.) Also, if you don't think providing someone with a weapon in the knowledge that they intend to do harm to a person with it will get you into some serious legal shit, you would be incorrect.
CSAM via AI, currently, is not and major tech firms are flouting that fact for profit. (Or, more accurately, in a desperate grasp for any profit, since AI isn't profitable.) Absent meaningful regulation it is imperative to hold the companies knowingly creating the dangerous product accountable legally and financially. We know they can program their models not to do this because several of them don't have demonstrated it.
Also, thanks to leakers, we know 100% that the companies doing this are aware of what they're doing. I made a whole video about it.