How One Strategic Shift Saved a Failing AI Project