Another interesting method for power transmission in the early days of industrialization was the line shaft (https://en.wikipedia.org/wiki/Line_shaft). These were used only for a single factory, not for a whole city, though. You can see these if you go visit old textile plants in New England, for example.