An essentially never discussed option is also that the fridge could be open source. Now when it breaks there is both motive and opportunity for third party repair companies to offer upgrades and fixes.
I think component complication for planned obsolescence is much more of a thing than programming something in X years to kill itself.