Scientists Reveal Ancient Social Networks Using AI--and X-Rays