Human–Machine Collaboration in Industry 5.0: Engineering Pathways for Intelligent Robotics, Worker Safety, and Productivity Optimization