I would add to the solution to forget any saved wifi passwords and networks on your iPhone prior to applying the iOS update. This allows you to skip or just press continue without selecting a wifi network.
I had this issue from the start of the iOS 17 beta on iPhone 12 Pro Max. I suspect this happens on other models, and yes asking Siri to turn airplane mode was the way to get past the Apple ID verification issue. If you have your data backed up on iCloud, just restore your phone on your Mac.