Specifically, you code it to engage and waste the time of the people on the other side of those scams to waste their time with false positives that they believe to have been hooked by the system. The scammers are working too and everything depends on ROI. If they are having to invest more and more time the returns stop being worth it.
If you can teach an AI to do that, you can fix one of the web's biggest nuisances.