They only offered that cheap battery replacement after the lawsuit was filed.
Thats not an act of kindness, thats ass covering. They then settled the class action about the secret throttling for $300+ millon.
Not exactly just an "opps, we forget to mention what we were doing for your phones health for years, really guys" situation. In every possible way, they were silently hobbling the performance of old phones, which directly helped their sales of new phones.
The right thing to do was very simple : alert people and offer inexpensive replacements. We know it was very simple because they did it immediately when their duplicity was revealed in a court of law. Now ask youself why they didnt do it for years.