A high school student who allegedly produced sexually exploitative deepfake content of teachers and students over a four-year period using AI has been apprehended by police.