For centuries, men who worked on carriage equipment, including the wheels, used the same spacing. Then when trains came along they continued to use that same distance for laying the tracks. The fact is, the train was built to fit the tracks, not the other way around. The Romans were pretty amazing.