Ingestible medical devices and even 3D-printed pills have been given the green light for patient use in recent years.