NBC: Google says Gemini AI glitches were product of effort to address 'traps'