A Comprehensive Framework Integrating ML, Automation Pyramid, and KPIs for Industry 5.0 Chapter in Scopus uri icon