Scientists created a massive digital library of ants using synchrotron X-ray scanning, robotics, and artificial intelligence.