I think this is pretty commonly known, but the railroads built the US American West. It was a hugely speculative endeavor where railroad companies would buy up worthless land for cheap, hire unfavored immigrants and work them harder than anyone else would work, and then recoup costs by selling the land of the railroad towns.