For the first time in about two decades, fewer American students are signing up for computer science. The long boom in the country's hottest degree has stalled, right as AI learns to write the code.