The Role of AI in Predictive Threat Detection and Cyber Defense