AI in Cybersecurity: Balancing Automation with Human Oversight