This is mostly accurate and true. A PhD degree is basically "knowing absolutely everything about practically nothing".
In CS, for example, people definitely come out as experts in some niche of their research. Of course, there's a difference between their expertise and that of an experienced professor, but both are quite far from a normal person's knowledge of the field.