A train driver was forced to jump for his life from a runaway locomotive after the brakes failed