Artificial intelligence in smart cities for a dynamic and adaptive governance model