Machines do repetitive tasks over and over, faster, more consistently and without tiring better than humans. This is why we use them.

Where a machine fails is when something changes. Machines don't do change. Even a computer just follows directions.

I am an Engineer. I specialize in designing new machines and modifying existing machines to do new tasks. So I think I know of what I speak.
I make Kilts too. And I approach Kiltmaking like an Engineer. See the acknowledgments in the front of the second printing of "The Art of Kiltmaking".

I use an excel spreadsheet and a mathematical formula to determine how much fabric to cut off the bolt and to determine pleats and aprons. But the work, the actual folding and sewing the pleats with perfectly aligned lines, is still hand to eye coordination.

In Kilt making nothing is ever the same. Even on the same Kilt. Most of the work is subjective in nature and that requires an eye and a hand to adapt to those changes.

Weaving is done by a machine yes. To a limit. The setting up of the machine is still ultimately done by a human. This is one of the reasons Tartan is more expensive than some other fabrics.

But once the human has set up the machine it will do the same task over and over, very fast and produce the fabric.

Would it be possible to create a machine to make a kilt? Yes, anything is possible. But I will, like Rocky, place an order for two or three on the day some smart young man produces it.