Software agreements give AI vendors sweeping rights to train models on source code, financial records, legal documents and customer data.