The railroads were both freight and passenger and both business sectors were going bankrupt or went bankrupts. The U.S. government owned and ran Conrail (freight only) for several decades. Some railroad, like Union Pacific, actually kept their passenger trains running for a few years after Amtrak was formed.
Another one was the Southern Railway. The Crescent stayed out of Amtrak until 1979during the Carter administration.