A steam railway engine is a lot better than you would think. They were more efficient than diesel engines when diesel took over - the diesel engine needs much less human labor and so was cheaper overall, but for efficiency steam was better. (Note that diesel technology has improved since the 1950s, so I don't know how they compare now)