Fibre is extracted by a process known as decortication, where leaves are crushed and beaten by a rotating wheel set with blunt knives, so that only fibres remain.
From the en.wikipedia.org
In East Africa, where production is typically on large estates, the leaves are transported to a central decortication plant, where water is used to wash away the waste parts of the leaf.