How AI is fighting, and could enable, ransomware attacks on cities