Machines for inspecting the internal surface of pipelines