Study suggests Stone Age folk sporadically killed the beasts, primarily for ivory