There is a bit of a lesson in the Boeing 737 MAX debacle. That plane has machine overrides flight controls of the pilot when ithe hidden autopilot concludes the plane is heading into a stall. It looks like they have been working with malfunctioning parts that are sending false data. This results in the pitch on the tail wing forcing the airplanes down and the yokes set up to resist human override by causing more resistance on pulling up than diving down.
So, humans died because Boeing had more faith in the AI of those systems than human judgment.