I know almost nothing about law but I would assume a large company would be insured against contingencies like this.
I remember reading something about how rich people can get 'everything else's insurance that's basically applicable to anything bad that could happen to them. Maybe its the same with companies?