A smart insulin device under development could revolutionize how glucose levels are monitored in diabetes patients and deliver insulin doses when necessary.