Well, here’s my theory.
Cloths are made of fabric, which can be made from silk, which is produced by insects. There’s the possibility that on cybertron, there are wild creatures capable of producing different materials. I believe these creatures can produce silk-like substances, which the transformers use.