Should take no more than a 5-10 minutes at most (Realistically 1-3 minutes), at this point I would power off the system.
Note I have that same board (Z370 Extreme4) and had an issue updating the BIOS once where it got stuck @ 0%, just rebooted and redid the flash no problem. That board also has a redundant BIOS as well.