For things like language, math, and science you could probably have an AI teacher on individualized tablets or something that go at each child’s own pace in a classroom setting that’s just supervised by someone and can provide extra help / tech support when the AI goes on the fritz.
Then regular recess/lunch shenanigans and gym class, art, music, for the social aspect.
The AI could even be programmed to do team projects where you link your tablet with 4 others and they all help the group do a project
Eventually when AI advances and isn’t complete dog shit, that is.