Machine Learning In Model Predictive Control, Operational Safety And Cybersecurity