From ancient Egypt to present-day Dubai, a close look at some of the buildings that held the height record