I wonder about this. The global total of agricultural workers is lower than it ever was, even if the total output is higher than it’s ever been.
https://ourworldindata.org/grapher/number-of-people-employed...
https://ourworldindata.org/grapher/number-of-people-employed...
To continue with the fabric industry. The automatic removed jobs in weaving fabric, but it made fabric cheaper and created many times those jobs in sewing this fabric.