Text this: AI-Based Prediction and Safety Measures for Electromechanical Brake Three-Phase Motor Faults