Text this: Energy-Efficient and Fault-Tolerant Control of a Six-Axis Robot Based on AI Models