About 600,000 students in the city’s schools will not be allowed to use AI until high school.