Pietro Valdastri at the University of Leeds in the UK and his colleagues have developed a robotic arm that uses a machine learning algorithm to move a flexible probe along the colon.
https://www.newscientist.com/article/2256896-robot-that-can-perform-colonoscopies-aims-to-make-it-less-unpleasant/
https://www.newscientist.com/article/2256896-robot-that-can-perform-colonoscopies-aims-to-make-it-less-unpleasant/