Why did the Victorians have railways?

It was the newest technology they had to provide quick transport (no airlines, no superhighways, autos, etc)