Poorer schools are being lured into spending their limited funds on AI tech in the face of chronic understaffing.