You make a good point.
If you consider that you can't easily change the battery in an iPhone without voiding the warranty or paying a premium price to Apple Support then one can make a strong argument that it's sneaky planned obsolescence.
Then again, a battery that dies down after a few years and is so difficult to replace is also planned obsolescence.