Nearly 600,000 public school students will be barred from using AI, while high schoolers can access it only through limited pilot programmes.