There are some small trains in Switzerland that are like this, they are for those places where there are no roads or they are closed for the winter. The train takes on a bunch of cars, leaves and drops them off a half hour later. Super convenient and sometimes even free, and easily the best part of traveling to that particular destination.