They were scientific revolutions ripe for the right people at the right time. These people are uncommon but they're always around, there was nothing particularly special about that generation or those few that found themselves where they did. If the events of the world wars didn't collapse civilization to the degree of the late bronze age collapse, the fall of the western roman empire, the Maya collapse, etc. then computing machinery was pretty inevitable in the span of a few decades.
You can usually make the argument that any particular scientific or engineering revolution would have happened anyway with different people nor more than 25 years or so later, at least any advancement since the mid 19th century.
Except, why didn't the ancient Romans or Egyptians invent the Internet? They had enough civilization to build empires.
There's a tech tree, more or less.
You need steam power, chemical batteries, basic metallurgy, and the telegraph to make global communications networks obvious.
With constant conquest and expansion Rome was full of slaves which distorted the market need for mechanical power.
Hero of Alexandria made a little steam powered spinning toy which could have been the inspiration for steam power and the industrial revolution but it wasn't and the western empire was already on the path to decline. When the expansion hit its practical limit Rome fell apart instead of industrializing under the effects of Christianity and a series of decadent or just bad emperors.
Rome made ENORMOUS strides in the advancement of civilization when it came to organization and institutions it just didn't hit the industrialization spark and stopped advancing.