Steam shovels came out in the early 1800s: https://en.wikipedia.org/wiki/Steam_shovel
> They were limited to rails
Um, no: https://en.wikipedia.org/wiki/Steam_tractor and https://en.wikipedia.org/wiki/History_of_steam_road_vehicles