The formulae involved in engineering a proper steam engine (pressure, tolerances, heat, timing, etc.) also resemble magic.
I'm reminded of Freemasonry. Supposedly, in the Middle Ages, the knowledge of how to build a cathedral that wouldn't collapse was incredibly valuable, but also difficult to...