The case highlights a growing problem for universities as they try to police the use of artificial intelligence.