An important factor seems to be precision engineering. I saw the point made in The Perfectionists: How Precision Engineers Created the Modern World by Simon Winchester, where they argue that while all the science and experimentation was there, it wasn't until precision parts were widely available that steam engines really solved all their problems and became viable
https://www.goodreads.com/book/show/35068671-the-perfectioni...