A visit to Xiaomi's smart factory offered Lord Mayor of Manchester Shaukat Ali a glimpse of how technology is reshaping the city's industrial base.