Facing soaring prices, the world’s biggest electronics companies are staring at a list of unpalatable responses.