How the U.S. government went from quill pens and typewriters to computers, cloud systems and artificial intelligence to preserve America’s history.