Maximizing Efficiency in CNC Machining with Robotic Automation