How can artificial intelligence respond to smart cities challenges?