Apples and oranges. Your examples refer to specific business ventures initiated in a time where steam-powered rail transport was already a century old and with a proven track record, while hyperloop is a pie-in-the-sky scheme that is both technically and economically unfeasible. It's like comparing flying cars with the DeLorean.
[1] https://en.wikipedia.org/wiki/Jay_Gould
[2] https://en.wikipedia.org/wiki/First_Transcontinental_Railroa...