There were teachers before schools, and there always be those who guide or will be mentoring or tutoring others... From the learning pov AI could be quite helpful, assessing the understanding level of each student and providing individualized lessons on certain subjects. This would also diversify the learning environments, not everyone needs to sit at the same classroom from 9-15.
Privacy and other topics you mentioned are the 🤢 side of this. It would be us humans turning the technolofy againts us.