I thought the same thing regarding professors not being unionized. However, in top universities they are paid as much based on research (or outside offers based on research) as they are on teaching capability.
One thing that is truly bonkers about K12 education is that they can get tenure in just a few years. This is much faster (and easier) than a professor getting tenure. But they both result in the near-inability to be fired.