I really think that she thought she could make the machines work. I think Holmes and Balwani thought that, given enough time and enough smart people they would eventually get a working version. I think they thought -- they may still think -- that it was a question of throwing more resources at the problem.
The whole thing would have lasted longer if they had not put a deadline on themselves by actually releasing it into the wild with the Walgreens deal.