Perhaps manufacturers unlock bootloaders & whatnot after the 7 years so tinkerers et al can load 3rd party software to give the devices even longer lifelines?
Same goes with multiplayer game developers. If they wanna stop hosting servers, they should be required to release the server software in a manner that makes it possible for me to set it up for myself to keep playing the game.