Amtrak's sleeper cars are also quite expensive when I last looked at it as an option for getting from Colorado to San Francisco. The price compared to a seat on the train was 2..3x or more (but it includes food).
Since that would be wasteful, Amtrak doesn't do it; instead they stop in San Jose (where you can switch to Caltrain to run up the peninsula into SF) and Oakland (where you can hop on BART or a ferry to cross the Bay into SF).
Just to be clear: not knocking Amtrak here. They're virtually budget-less, for the most part disallowed from owning or even maintaining their own infrastructure, so building new infrastructure would be completely beyond the Pale. Not knocking Amtrak at all -- it's America's collective ability to get its infrastructure act together that is just sad.
> Because it is a suspension bridge and has similar coloring, it is often compared to the Golden Gate Bridge in San Francisco, US. It was built by the American Bridge Company which constructed the San Francisco–Oakland Bay Bridge, but not the Golden Gate.
https://www.amtrak.com/coast-starlight-train