Transforming Education: The Power of AI and Extended Reality in Collaborative Teaching