Cutting-edge technologies have reshaped the Russian capital, making it safer, more convenient — and more closely watched.