AI gliders learn to fly using air currents, just like birds