A Stanford professor said the AI boom is encouraging students to pause their studies to pursue early-stage startups.