The Greeks actually also invented steam engines. But they didn't know what to do with them. So instead it was just a fancy art piece that spins super fast.
They also invented a lot of other stuff: door bells that sound like birds chirping, automatic doors, clocks which tracked the year, etc.
That's pretty much where manufacturers are today when it comes to implementing automation. The technology exists in many manufacturing areas, but if workers can do it more cheaply they're not investing in it.
If you haven't seen it, Clickspring on youtube has a series where he recreates the Antikythera mechanism based on scans of the original. It's an interesting series I recommend to anyone interested in that kinda thing