Steam-diesel hybrid locomotives can use steam generated from a boiler or diesel to power a piston engine. The Cristiani Compressed Steam System used a diesel engine to power a compressor to drive and recirculate steam produced by a boiler; effectively using steam as the power transmission medium, with the diesel engine being the prime mover.
http://www.zlocomotive.com/min....ing-equipment/mining