would you ever trust safety-critical or money-moving software that was fully written by AI without any professional human (or several) to audit it? the answer today is, "obviously not". i dont know if this will ever change, tbh.
i suspect humans had to invest millions of hours into writing the code, the tests, and validating the outputs.