Benefits and risks of AI in academia