Steam engines? Engineers were around long before those were in vogue. Take this famous quote from William Shakespeare's Hamlet: "For tis the sport to haue the enginer / Hoist with his owne petar." It's normally rendered as "the engineer, hoist by his own petard" and really means 'a sapper/military engineer blown up by his own grenade'. Hamlet was written in about 1600 and steam engines post date it by a century.
Engineers originally built siege engines, i.e. military contraptions. See good old Wikipedia for more information: https://en.wikipedia.org/wiki/History_of_engineering