Gas, Diesel, Turbine, Rotary, in-line, V, Turbo, Carburated, SuperCharged, SkyActive-X etc.. etc..
While the basics principles are the same and over 120 years old, the Combustion engine has been re-invented and re-engineered a gazillion of times...
Maybe some of you guys here are young, but there were cars (large SUVs, or Sports Cars), that would consume 8-9mpg, yet still be slow as molasses compared to today's cars.
So, yes while the basic principles of the combustion engine are the same... but it has been re-engineered (from scratch), a many times, and each time it would be slightly better and better.
Same with planes, jets, tanks, etc...
Then there are innovations in manufacturing enabling new designs. 3D printing is coming along. Not everybody has to pull from a catalog of shapes, thicknesses, etc, for structural design.
If it was engineering, or even a “profession”, experience would be prized, instead ageism is rampant.
The strongest indication programming is not engineering is forgetting and reinventing the past. Also revolutionary tools and techniques are invented far too often in CS.
In mechanical engineering we've had screws for a few centuries and off the top of my head the most recent innovation in screw fastener tech was the creation of the "Torx" screw standard in the 60s. The Torx innovation was due to smarter torque controlled automatic screwdrivers on assembly lines WRT electronic drive tech and early digital control.