Ex-tech CEO who now manages AI for the CIA explains why it’s like your ‘crazy, drunk friend’