This is an interesting video of a train that lays its own track. The leading unit pulls up the old ties, lays down new, with new rails and all the connecting hardware and ballast. It still takes a lot of people, but the rate that track is laid down is truly amazing.