It's far fetched to assume that working longer gives better health is a stronger effect than that better health makes you able to work longer.
Some work might make your health better, but the effect should be weaker than the statistics suggest.
That's not at all obvious to me. Even if we put aside the problem with anecdotal evidence in general, your examples still don't imply that people remain healthier by working longer. They imply that health is positively correlated with working longer, which may also indicate that people who healthier are able to work longer.
The current crop of people mostly don't have that, and with the low interest rates even saving for your own retirement is difficult. Work will likely be only option to survive above poverty in older years.
Source: my retired grandfather who took up farming and lived another 30 years, my grandfather-in-law who retired after teaching and took to looking after cattle well into his 80’s. Maintaining the forced social interaction and mold exercise always help out in the long run.