Western technology companies have played a pivotal role in building China's authoritarian smart cities.