AI-enabled facial recognition and predictive analytics can enhance security, but they can also erode privacy.