Tie exchanger
A Tie exchanger is a self-propelled railroad maintenance of way vehicle that removes old railroad ties from tracks and inserts new ones. By using mechanical and hydraulic force, a tie extractor/inserter can replace ties much faster and with more precision than is possible by hand.
Read article on Wikipedia