At a company I used to work for, if an employee sustained an injury/illness that would prevent them from working for an extended period of time and/or might lead to them eventually becoming unemployable, management would, out of compassion and loyalty, hire a temp to replace the afflicted employee.
Management would then inform the afflicted employee of that hiring, that the employee would remain employed while on medical leave and that although no wages would be paid during their absence, all of the benefits the employee had acquired from working there would still be in effect, including those gained from longevity and incentives until the employee no longer wished to remain employed or until the employee became permanently incapable of performing their duties.
The company would also try to keep the employee working there if said employee sustained a permanent disability that prevented them from doing their primary function but would be able to perform some other job that was available there.
Seems to me the employer in question in this thread could have done this or something similar to it.