Most of the deaths from fentanyl don't come from the pharmaceutical preparation of the drug.  They arise from street preparations of the drug, either using the pharmaceutical version, or using the drug that is illegally imported and of dubious quality.  It is very unlikely that the drug companies could be held liable for this.