Up until the creation of the personal computer most machines were specialists. They were large computers designed for specific computation tasks or machines made specifically for manufacturing certain kinds of goods.
Sorry, but that's just not true. Back in the 60s, way before personal computers, the were many time-sharing companies, selling general "computing resources" to different people who would dial-up into the machines and run their own programs.