The Sansa Clip(s) are very limited in what the hardware provides as far as peripherals,
pretty much everything is provided by emulation by the software on the flash chip
Unfortunately, once the flash gets corrupted then the software can't do its job.
On top of this the flash tends to go read only at end of life and then you also can't fix the corruption.
Oh, before you ask, NO, no one has figured out how to replace the flash chip.
Is this the fault of rockbox No; Does the OF suffer the same fate, YES only faster since it does tons of writes rebuilding its internal database and is far more brittle to read errors.
Can this be prevented? No, hardware wears out and Sandisk didn't give you a way back.
Can it be slowed down, Yes the multiboot bootloader allows you to run rockbox from a sd card, both prior to flash going read only, and once it inevitably does, assuming the bootloader is still intact.