The rise of artificial intelligence is prompting college students to second-guess their career paths.