Can't . . . The Enterprise is instantly out of trouble, the crew is safe, and the mission continues to find new prosperity. And, neither does anyone else.
Computers can do a lot of things.
However, there are also many things that computers can't do. A client of mine got into a heated discussion with his bookkeeper. They just could not get the books to balance. They tried and tried to solve the mysteries and find the errors in the records, but had no solutions. As an aside to another project I was doing for him, the owner asked me for help in purchasing a computer system.