The new majors are part of larger computer science programs and come as AI is more widely adopted across many sectors.