There is a series of videos intended for kids, which of course includes us, that show large machines at work. I believe it is volume 3 that shows different railcars removing ties, inserting ties and tamping the ballast.
The videos are usually found in the discount bins at Wally Mart.

The videos are usually found in the discount bins at Wally Mart.