Well, yeah, if a surgeon decided that using a chainsaw in surgery was a good idea and the hospital went ahead with it, it's not up to the chainsaw maker to pay compensation after a patient was eviscerated on the operating table.
AI is stupidly dangerous for any life critical task that requires precision and correctness.