How AI can give endangered elephants a fighting chance