Harnessing AI for Sustainable Smart Cities: Impact, Innovations, and Use Cases