Recovery of broken hardware is NOT cheap. So what you "need" is impossible. Time to redefine your needs.

For the future, start thinking about BACKUP. Then ask yourself how it came that 2 different external disks have this same very uncommon problem.
And finally remember that external hard disks are NOT suited for 'storage'. They are too unreliable for that. But they are nice as an additional backup and to move data from one PC to another.

Kees