Software
cannot overcome the laws of physics
but it can- diagnose the problem in millisecond,
- analyze 100s of possibilities in a few millisecond more,
- apply the scenario that would maximize the chance of survival.
The key to that is more sensor distributed throughout the aircraft and a huge onboard database
Did you hear about the self recovery button on the cyclic of the H160 I think this a sign of things to come