From real world experience as a patient that has had a lot go wrong over the last decade. The problem isn’t lack of automation, it’s structural issues affecting cost.
Just as one example a chest CT would’ve cost $450 if done cash. It costed an insurer over $1200 done via insurance. And that was after multiple appeals and reviews involving time from people at the insurance company and the providers office including the doctor himself. The low hanging fruit in American healthcare costs is the stuff like that.