A battle over whether artificial intelligence will replace traditional teaching methods has resulted in hundreds of staff walking off the job.