The Great Pyramid of Giza has survived for more than 4,600 years despite nearby earthquakes, and new research reveals why.