>The cost would be non-zero, so it won't be done.
I would be willing to bet that the largest factory farms would be able to file an insurance claim for this type of thing (or get a large government subsidy) such that the cost will be negligible/zero/net positive.