Possibly
Manufacturer’s of goods and services (including software) are potentially liable for harm their products cause.
The most common cause of action is negligence which requires:
- A duty of care,
- Breach of that duty,
- Causing (both legally and proximately) …
- Damage.
If the conduct that causes harm is reckless or malicious this may be a crime.
That said, such suits or prosecutions are rare and hardly ever succeed. It is also difficult to see who exactly was negligent. Is it the retailer? The distributor? The integrator? The library developer? The project manager? These could all be different people/companies.