The correct response is:
It was built by private enterprise.
The transcontinental railroad in the United States was primarily constructed by private companies, whereas many railroads in Europe were often built and owned by the government or public entities.