Adaptable, shape-conforming robotic endoscope