Workers who assemble Apple Inc.’s newest iPhone walked away from a factory in central China following virus outbreaks and complaints of unsafe working conditions, highlighting the clash between the disease’s enduring risks and efforts to restore the global flow of goods