Apple’s newest, most affordable iPhone isn’t inexpensive, precisely-and that’s where the engineering story gets interesting.