A computer science degree used to be seen as a clear path to a well-paying career. Is it still worth it in an age of AI?