This is a legislation problem IMO: companies need to be held to reasonable expectations when they sell a product. My ink cartridge shouldn't say it's "empty" when the page counter reaches 100 [and it's still actually full]. Neither should cloud devices go to the landfill because the company selling them decided that they don't want to support them anymore.
Companies foisting negative externalities on us (like more e-waste) in exchange for more profit are a blight and should be treated (and prevented) as such.