Do you want to break out a flash programmer and disassemble the entire smartphone whenever someone bricks it via firmware?
If not, you need to have unbrick-capable DFU straight in BootROM.
Which typically means: ROM code that carries an entire USB stack, as well as means of validating and booting executables from the USB stack.
An alternative would be to have BootROM recovery off MicroSD, but, iPhone lmao. They didn't chase the trend of "no expandable storage" - they created it.