What you pay
The iPhone 17 is $1,129 for 256GB against $1,159 for the S25, cheaper while starting at the same storage.
Battery and support
The iPhone lasts longer in real-world use and updates faster, for longer. Both are quick; the A19 sustains well and the Snapdragon peaks higher.
Camera zoom
The S25 adds a telephoto lens the iPhone 17 lacks, plus broader AI tools. It comes down to longevity against zoom and features.