Lyon have signed Ainsley Maitland-Niles on a four-year contract after his deal with Arsenal expired in June, the Ligue 1 club announced on Monday.