Protection of pipes or objects of similar shape against external or internal damage or wear