

No, because cross-country trains and heavy use of them to move goods and people predates cars by quite a bit. Trains were a key component of the North winning the Civil War, for example.
Lots of existing train infrastructure needed to be torn out to make room for car infrastructure.
Capitalism is when there’s an owner-class controlling production via capital. It doesn’t really matter what they’re producing or at what cost or who’s consuming.