Apple did not “do this”. Apple ole didn’t ruin a perfectly good phone with an update. The throttling they did on phones with old batteries kept them from shutting off completely.
They basically did the same thing, which is why there was a lawsuit. It's also why Google preemitively offered users free money--it was informed by the lawsuit against Apple for the same shit.