That is not correct. Apple got caught degrading performance because the batteries were degrading.
This was when Apple was so focused on thinness that they used very small batteries. After a couple of years the batteries were not able to supply enough power to the SOC under full load, so Apple had to underclock the SOC to prevent the phones from crashing.
*I'm not saying that was OK. Apple absolutely should have explained what they were doing instead of hiding it. But after this happened it did force them to install bigger batteries in the newer iPhones.