Avionics software has a much more stringent and regulated software process (and pilots still there just in case). Are you advocating the same for cars?
It does actually, my father was a pilot for Delta and he saw the automation come thru and there are horror stories there too.
On top of this, the software quality is certified, built over decades, and continuously tested on each plane regularly - and of course the pilots are still there ; )