A group of writers have banded together to sue AI companies for pirating their work to feed into the large language models that power their chatbots.