A British firm is pioneering the creation of smart cities.