The devices are often a last resort for very ill patients, but that the risks may outweigh the benefits.