There used to be (up to maybe 1980s?) 'fireless cooker' steam engines that ran on compressed air. Usually little 0-4-0 switchers used to move cars around a grain complex where sparks could have easily caused a fire / explosion.
In "The Depot" museum in Duluth MN, they have a DMIR Yellowstone that's up on rollers; the wheels rotate every so many minutes via an electric motor, and there are recorded sounds playing of one under steam.