It is rear derailleur cable housing. I would guess that this bike had a single housing (from shift lever to deraillieur) that was not properly secured to the frame. It some how gets caught in the crankset which promply snaps the cable at the shift Level and wraps the cable and housing around the crank.