An MIT-led research team has developed a drug capsule that could be used to deliver oral doses of insulin, potentially replacing the injections that people with type 2 diabetes have to give themselves every day.