AI and robotics demystify the workings of a flys wing