Take apart the phone and look at individual parts and you will find that this is absolutely the case. Every large scale electronics manufacturer uses this strategy.
And specifically in Apple's case they do spend more money doing stuff like soldering ram to the motherboard so customers can't upgrade them.