I think we're quickly getting to a point where AI is going to be able to do a better job teaching things than humans can (especially stuff with heavy associations with paper/screens, like programming and math). AI can augment for personal styles and spin up whole entire educational widgets on demand. Human's can't scale like that.
I think there is some worth in having someone knowledgeable using AI to generate educational material, although it will be in my opinion, of less use than if that knowledgeable person wrote the material by hand.
For example, many professors in universities have started generating slides or even assignments using AI. A knowledgeable teacher who cares about their students outcomes can generate better material.