The reason, that earth does not collapse under the force of gravity it, just like our slinky, is that pressure increases as you go deeper down into the earth, each layer holding the layer above it against the, the force of gravity. 