These things still do happen - my SO was diagnosed with cancer in 2020. Her boss and the owner of the company arranged a $10k bonus, 6 additional weeks of PTO, and a 6 month paid leave of absence once she was done with treatment.
I do agree it isn't good to rely on the beneficence of overlords in general though, since they aren't obligated to continue to be beneficent.