Apple's deal with the South Korean company means that Sony won't be the sole image-sensor maker for the iPhone 18.