As a better example consider an art degree. A fine arts education does not teach people how to become an artist. Practice teaches how to produce art. An art degree teaches people about art so that they can understand it for a variety of other reasons.
Is there value in a CS degree? It depends entirely upon the student, but even the answer is still typically a resounding NO. The principal business of software is employment: recruitment and talent acquisition. So long as that remains true and CS education remains a non requirement there is little reason to spend money on something you could teach yourself.