Law schools definitely have tons of diploma mills. Medical schools are definitely different in the sense in which...there are no "unaccredited" schools and you can get a residency from practically ANY US med school (maybe not the residency you want...but you're practically guaranteed to get into a residency). If you graduate from the Ackron School of Law (which is probably a single decrepit, brick building somewhere in rural Alabama), you'll be very lucky if you don't end up in the unemployment line. However, you'll be a respected physician if you graduate from ANY United States allopathic school (I won't comment on the osteopathic schools...otherwise this will turn into another MD vs. DO threads..of which, there are already 2847927837).
My sibling is at a top tier law school and also told me about the legions of law grads from law schools every year. In terms of quantity, law schools outnumber medical schools by a HUGE margin (probably by over 300+ schools). So there is a large disparity in the quality of teaching, quality of students, and job prospects from students graduating from top tier schools and students graduating from the 4th tier schools.
The graduates of the top 15 or so schools (Yale, Harvard, Stanford, Berkeley, Columbia, Cornell, University of Chicago, Northwestern, University of Michigan, etc) can go on to prestigious clerkships for the Supreme Court, work for corporate law firms in NYC, or have their pick of associate positions from law firms all around the country. Meanwhile, the graduates of tier 3 or tier 4 law schools are usually referred to as the "ambulance chasers" and most will be lucky to find employment anywhere. A law degree from a tier 3 law school is only worth a little more than the toilet paper I flushed down the toilet a few hours ago.