The original iPhone was $499 in 2007. That's $800 today with inflation per https://www.bls.gov/data/inflation_calculator.htm. The cheapest model is "from $799", so… the price is basically unchanged for two decades.
You'd really need to compare to average salary or purchasing power instead.
Average salary 2007: $40,405.48; 2023: $66,621.80.
AT&T most year offers me a free!* iPhone pro every couple years now so it has actually gone way down.