Egg shells are very strong if they are compressed. The curved shape of the egg shell allows force to be spread horizontally and vertically throughout the shell
You can think of an egg shell as being like a 360 degree arched bridge.
Engineers have known about the strength of arches for thousands of years. They are very stable and allow building structures to support a lot of weight.
Find out how arched bridges and others work.