Artificial Intelligence Perspective for Smart Cities