Apple got in trouble because they made the processor in the phone get slower as the battery got older, not for any of these 80% battery optimization things (which they also support now, but it was added after their scandal of slowing the processors down)
They also didn't inform the user, so there was no way an average user could know they could restore their device's old performance with a simple battery replacement
The iPhone 3g would be the first modern "smartphone" from Apple; before that it didn't allow adding more applications, same as the "dumb phones" before it. It just had a capacitive touchscreen and a better web browser
Even then, the batteries weren't glued in and it was significantly easier to replace