Governments worldwide are introducing generative AI in schools, partnering with US tech firms like Microsoft, OpenAI and xAI.