The new capsule could emerge as a minimally invasive and cost-effective way to treat obesity.