It's one thing to discontinue selling the product. It's another to discontinue service (i.e. Music) to the product. Did the hardware generate a lot of support requests? Does it require too much engineering to keep secure with updates, etc.?
I can't repeat this enough: there needs to be LEGISLATION against this.
If a product needs cloud functionality to operate, there needs to be a legal minimum number of years (5?), and the company should be required to prominently advertise the length of time (so they can compete to guarantee for longer periods of time, like 10 years).