
Technological civilizations collapse under the built up complexity after using up the planet's shallow deposits of resources but before going to space. This always happens, because the fundamental laws of psychohistory require all societies reaching a certain stage to accumulate enough regulation and other complexity that the pace of technological and scientific development grinds to a standstill.
They just burn through all the resources while not doing much. The resource repletion makes it impossible to restart, and subsequent civilizations on the planet don't amount to anything.
The only way this doesn't happen is if the planet contains a sparsely inhabited & undeveloped continent that is:
located at a distance just right that is gets settled just in time for the industrial revolution,
gets settled by the most hard-working, open minded and freedom loving segment of the population,
is large and resource-rich enough that it becomes the most powerful force in the world just in time for the information age,
successfully fights off attempts to impose socialism by the rest of the world for long enough to get to space