When digging a pit, one way to prevent the walls from collapsing inward under pressure is to make them less steep, so they slant outward like the sides of a cone. A good rule of thumb is to make the hole three times wider than its depth.
[…]
Suppose you were to try digging through the Earth, and that the planet was all solid. (We know that it’s not, but this is the simplest scenario.) The depth of a hole all the way through the planet would be equivalent to Earth’s diameter, which is just a name for a line that passes straight through the center of a circle. So your hole would need to be about three times as wide as the diameter of the Earth in order for it to be stable.
Clearly, this is an impossible task that would completely alter the planet’s shape.
[…]
https://www.youtube.com/watch?v=kO7L5IPn2Bo
45 mins