Earlier quoted context omitted.
People don't realize that every device with a LiPo is only one (possibly malicious) update away from becoming a fuse.
Meh, often the LiPo protection logic is hardware based to prevent just this sort of mistake/sabotage. Some protection chips are software-configurable or reprogrammable, but the parameters are again limited (by design). Perhaps you could cause long-term damage by programming it to manage the battery poorly, like repeatedly charging/discharging it deeply. I think "every device" is just fearmongering. No software Apple/…
But even if that is not possible, de-activation would he possible; finding a 0 day as nation state and using it to disable all iPhones currently connected in the US?