Outsourcing student thinking to artificial intelligence risks weakening the very skills schools are meant to build.