I don't think anyone has every figured out a way to make trains profitable at a price that consumers will pay. That's why governments are pretty much the only people that build them now, since they are willing to take the losses to facilitate any economic gains generated by public transit. Whether or not those gains are real is a separate argument, but as far as I know, no American public transit system is profitable on a revenue-expenditures basis.