Nigeria is building smart energy systems by connecting distributed solar assets with AI and digital grids. The approach could become a model for powering the rest of Africa.