A race of the railroads to join the east and west coast would begin a new chapter in US dominance and lead to the rise of the American icon: the cowboy.