More Chinese agencies and government-backed firms across the country have ordered staff to stop bringing iPhones and other foreign devices to work, setting in motion an unprecedented prohibition that is likely to block Apple and Samsung from parts of the world’s biggest mobile market.