Artificial Intelligence in Manufacturing leading to Sustainability and Industry5.0