I was thinking the same thing. I think math lends itself to this because the work is so esoteric that often the advisor doesn't even completely understand the work, much less can claim credit for it.
In math, the group sizes are way smaller. A PI might only have 1 or 2 students.