Artificial intelligence is quickly rewriting the playbook for crime, and lawmakers and law enforcement are racing to keep up.