This research aims to design an efficient algorithm leading to an improvement of productivity by posing a multi-objective optimization, in which both the time consumed to carry out scheduled tasks and the associated costs of the autonomous industrial system are minimized. The algorithm proposed models the kinematics and dynamics of the industrial robot, provides collision-free trajectories, allows to constrain the energy consumed and meets the physical characteristics of the robot (i.e., restriction on torque, jerks and power in all driving motors). Additionally, the trajectory tracking accuracy is improved using an adaptive fuzzy sliding mode control (AFSMC), which allows compensating for parametric uncertainties, bounded external disturbances and constraint uncertainties. Therefore, the system stability and robustness are enhanced; thus, overcoming some of the limitations of the traditional proportional-integral-derivative (PID) controllers. The trade-offs among the economic issues related to the assembly line and the optimal time trajectory of the desired motion are analyzed using Pareto fronts. The technique is tested in different examples for a six-degrees-of-freedom (DOF) robot system. Results have proved how the use of this methodology enhances the performance and reliability of assembly lines.