It depends on your plan, but Google[1] and Anthropic[2] at least provide indemnity against this. Haven't checked the others. Still not a situation you want to find yourself in, though.
[1] https://cloud.google.com/blog/products/ai-machine-learning/p...
[2] https://www.anthropic.com/news/expanded-legal-protections-ap...