Advancements in Predictive Maintenance: A Review of Data-Driven Approaches, Machine Learning, and AI in Diverse Industrial Landscapes