To be fair it was nationalized in the wake of the Penn Central bankruptcy and all of the other railroads wanting to drop passenger rail. Railroads were even able to opt out and I think a few did for a few years but it just didn't make sense to move passengers vs freight.
The actual problem was the federal Interstate Commerce Commission regulated routes and ticket prices and wouldn't give passenger rail companies the flexibility needed to compete with cars and growing air travel. Central planning failed and completely destroyed U.S. passenger rail.