For sure it's important to subscribe a insurance. And for sure, by law, the owner is responsible, at least toward injured people.... In a second time, if you can prove that the problem is drone's hardware or software fault be sure DJI will be involved.
The same is on your car, if your brake...