Some white-collar professionals enjoy continuing their work past retirement age. It can be stimulating, high-leverage, and I have often seen them contributing at key moments without spending much time at the office. The accumulated wisdom and political capital of many decades at the wheel makes a difference. I've also seen blue-collar workers keep at it past retirement age because of their finances or some other compulsion despite arthritis, weakness, bad sight etc and rue every moment. Let's make sure we understand that not every craft is heaven and not every corporation is a hellscape.
I definitely would have kept my software engineering career longer if I could have found a decent job like I used to have. But what it means to be and what's expected of a professional software engineer today is so different from how I spent my career and how I like/need to work. So I've retired rather than continue fighting it.
There’s plenty companies around who are doing more or less what they did 20 years ago. Enterprise ERP systems is where you want to look.