Caps or cap-like covers made of shrinkable material or formed in situ by dipping