Cloth built the case for the wheel
Long before textiles were an industry, they were an engineering problem. Turning fiber into usable cloth required tools — spindles, looms, treadles — that pushed forward gearing and mechanization centuries before those ideas were applied to anything else. The spinning wheel and the loom are, in a real sense, ancestors of the factory machine.
The Industrial Revolution is often told through steam and iron, but its opening act was cloth. The power loom and the spinning jenny mechanized textile production first, and the factory system that followed was built to house and feed those machines.