Why government’s AI dreams keep turning into digital nightmares—and how to fix that