an 8GB model of the first iPhone was $600
a 64GB model of the latest one is $200 less than that
And that's not even accounting for inflation, in which case the difference would be even larger.
Yes, technology gets cheaper, even if it's getting more advanced and especially if it's not. A refurbished iPhone 3 is $50 right now and a new one is $150.