that's because the majority of economic activity are near ports where train wouldn't be as useful. as a result the bulk of goods transported by train are to the lower populated areas where again the last mile is done by truck.
doesn't make trains not vital.