Adaptive state estimation and real-time tracking for control of a flexible wing with machine learning and AI