From ancient manuscripts to endangered languages, technology is reshaping how the world preserves its past.