Johns Hopkins University engineers have created robots the size of a pencil tip intended to travel through the body to deliver medicine to infections inside a beating heart.