Local officials and critical infrastructure leaders face new cybersecurity threats in the push to add AI to their systems.