In Toronto, Alphabet, Google’s parent company, hopes to create the sensor-filled metropolis of tomorrow.