In America, almost certainly not, for a few reasons:
1. Almost every consumer agreement contains an arbitration clause. This means the number of consumers that actually can sue becomes incredibly small.
2. Security updates are real. In which case, let's say a company wants to add or remove a feature you may, or may not, want. If there was such an obligation to support exactly the same feature set, the company would be obliged to bring security patches to every major version of a software platform - which is possibly, technically, impossible. Imagine Apple being forced to provide individual security updates for iOS 15.4, 15.5, 15.6, 16.0, 16.1, 16.2... all the way back to iOS 11 I suppose. Most likely, this actually would slow down innovation. Let's make modern WebKit run on iOS 11 - what could go wrong?
3. Some features may need to be removed in the future due to patent lawsuits (like Apple vs Massimo removing the Blood Oxygen sensor in future models). Other times, the design of a system needs to be changed, or wireless compliance logos need to be updated, or radio strength needs to be reduced (Apple in France lawsuit), or so forth. There's also public interest reasons for updates - for example, if a flaw was found in iOS that allows bypassing anti-theft locks. There's also legitimate corporate interests in the eyes of the law - like fixing a copy protection loophole. There's also features in a platform that have recurring costs and licensing from third parties, that may expire [1]. Then what?
4. As much as we gripe about Apple and 1Password, they are really the exception to the rule right now. The main problem that legislators are concerned about is that most devices don't get updated, particularly cheap IoT devices or Android phones after a few years. Putting new rules on getting updates out is the opposite of the public interest concern at the moment.
[1] Edit for this hypothetical: Imagine that your music player shows cover art. That's almost always provided by a company called Gracenote and it requires a license. Let's say a manufacturer's device, 8 years down the road, has that license expire. Is that reasonable, or does Gracenote need to be paid for, by the manufacturer, forever, for using their API? It's removing a feature "you paid for" if it goes away. You can see how this becomes sticky quickly.