Tourist
The examples you posted are all those where sensory data was misinterpreted (by humans) or missing due to a fault condition. Inexperience of the pilots and failure to follow best practice was a contributing factor.
A computer can only react to the data it receives. If all airspeed data disappears and the angle of attack indicators are giving out of range readings, the computer can then only follow a best recovery procedure programed by humans, based upon previous experience, by humans. Nose down, throttles to two thirds and pray the wings don't come off due to overspeed. The computer will consider all data sources which a human pilot might disregard in the stress of the moment, so on that basis, a computer could potentially achieve a better outcome.