Being amazed at how that's allowed displays a naiveté only one could have if they've never been in the process. What you describe is exactly what being in academia is all about for the last couple generations. Being a grad student sounds prestigious to an outsider, but the system is literally built to exploit their labor.