There also used to be "central turbines" whereby there was a central spinning rod that one could attach belts to in order to spin a thing to get work out of it...
That was normal in the age of steam. Having lots of tiny steam engines on the factory floor does not make sense. Keeping them running is too labor intensive, they would be fire risks, and they’re less efficient.
Cool indeed, but pretty dangerous and difficult to reconfigure. Electric wires and motors are so much smaller, and easier to protect, and more interoperable, so you can see why they won out.
That was one of the reasons behind having factory whistles: all workers take their places, the whistle, then the whole thing is started. While it's running people are not supposed to move around.
called line and shaft
https://www.youtube.com/watch?v=7qt5tltnvF8