Surely it would be no problem to give developers a second machine for the testing period, so they could work with that one every day and if it breaks, the stable one is just one git checkout away...
But no, I've actually never seen this. Probably better to lose people who leave over their employer messing up the work hardware than spending 3k per 2-3 years for a second machine.