Researchers decoded 4,000-year-old tablets revealing magic spells, royal correspondence, and ancient bureaucracy.