It is a tragic loss and a sad event.
Autopilots just like humans are not perfect.
However, just as in aviation the pilot (driver) is Always responsible, except if there is a system failure for which there is no way to override.
F.A.R.
91.3 Responsibility and authority of the pilot in...