If you keep showing up to work and your superiors keep managing you (and especially if you keep getting paid) the contract remains valid beyond its stated expiry date.
The worker should not abandon the company during their time of need because of an unfortunate legal SNAFU. The company, in turn, should take it upon themselves to ensure that the worker doesn't suffer economically for having done the right thing by them.
Workers and management on a team ought to be able to trust each other to that degree, even if we understand that the interests of all parties are not fully aligned. That trust goes both ways.
Take that too far, tolerating abuse of trust, and you betray your obligation to yourself. But in small amounts, it's admirable.
Or, if you are saying that they shouldn't stay even for a day, even in the face of an emergency, then I disagree. Even if they don't have a legal obligation to do so, I respect those who would, like this worker. And I would prefer to work along such people as colleagues, trusting that if they could help it, they wouldn't leave their team in the lurch.
I don't like the idea that complete lack of trust and hairtrigger hostility should be the default mode of workforce participation.
As advice to a worker in this situation, it certainly makes sense to gut it out and take the risk of doing work without pay. It's, for most people, probably a much smaller risk than risking getting "really" fired without first having another job lined up.
Then complain to the employers, who are the ones who created that culture.
For what it's worth, I attribute the worst amoral behavior to corporate personhood rather than capitalism. Thus my preferred remedy is to eliminate corporate personhood, rather than capitalism.
I would agree with your point of professional contracting: contract for the worst and write out scenarios in contracts.
In this case though the employer acted in a way that signalled renewal and the contractor delivered in good faith. Back to contract law and ethics: are services delivered possibly without contract but in good faith without value and compensation?
If it had renewal intervals, that means he wasn't legally entitled to 3 years.
This is likely why he wasn't paid for the interim either. The best the company could do would likely be to bump up the future rate or offer a "signing bonus".
Being a contractor is not at all like being an employee despite how similar the responsibilities are. You have to watch contract details like renewals like a hawk. This guy and his recruiter should have included compensation for failing to notify when not renewing.