Ingestible electronic devices could monitor physiological conditions or deliver drugs.