Collective Adaptation through Multi-Agents Ensembles: The Case of Smart Urban Mobility