'Flexible robot' can 3D print inside the body