Global shoppers face possible shortages of smartphones and other goods ahead of Christmas after power cuts forced Chinese factories to shut down.