New York City public schools banned access to ChatGPT, an artificial-intelligence chatbot, on its internet networks and school devices after officials raised concerns that students could use the AI program to answer questions, do homework or write essays