I would argue that consolidation happened because rail is a capital-intensive natural monopoly. It's easy to dominate a region just by buying up lines. Smaller lines couldn't steal customers from big players because no other lines were physically able to offer the same service. Trucking is another story. There, the highways are natural monopolies, and trucks are an over-the-top service.
[dead]