I have a number of Apple iPads and iPhones where their life span has been extended by a significant amount by allowing them to receive updates for years after their release date - the complete opposite of planned obsolescence.Lawyers go after all fish if there is evidence of wrong-doing, not just the biggest one.
iOS is still a laggy POS after updates. I should know. I work with iPhone X and Xs users. Don't excuse Apple placing malware on their customers' devices.
Running iOS 12 on a 5s for example has improved the feature-set and allows me to use the majority of up-to-date software which would otherwise render the phone pretty useless for anything other than basic tasks.
Agreed the 6s battery fiasco was a stupid "fix" and even more stupid to leave that "fix" out of the release documentation. One model 3 freaking years ago - but hardly in line with what apple is being accused of here, which is bricking devices beyond use in order to get you to upgrade intentionally.
At the end of the day, the latest software will not run on ancient devices no matter if that is an Android, PC, iPhone, Xbox or TV .... there is a hard limit to what new technology and software developments the hardware can handle - you WILL need to upgrade your device at some point or new software will not run well, or at all. Fact, with all devices.
Apple allows you to run up-to-date software on older devices, continues to provide security updates to older devices, and thus extends the usefulness of older devices further than pretty much anyone else on the market. I just fail to see the problem.
What is this "malware" you are on about anyhow?