According to posts on RailUK Forums, this is a way of dealing with labour shortages (without mass immigration).
Japan has a particular problem with the birth rate collapsing and are forced into spending money on automating or mechanising where they can. In other countries where staff are available a gang of workers with chain saws is going to be more economical to clear lineside trees and undergrowth than using hugely expensive machinery.