It looks from the pictures like the burn marks correspond to a line of LEDs (and possibly resistors along the same strip) within the tube. I could imagine that a progressive S/C failure of LED chips in one series string could have diverted excess current into that string and the ballasting resistors have overheated the plastic. The only odd thing is that where it has burnt right through, it looks hollow behind, but perhaps that's an illusion. It would certainly be interesting to see the tube cut open.
The damage to the cables at the terminal block does not strike me as related. If that red insulation has discoloured through overheating caused by overcurrent, then the current is much too high to be the results of the tube fault(s) and also for a B10. Even if it's 1.0sqmm, that would take 20-30A to cook it like that. Is it possible that it was caused in the past by exposure to the heat of a wirewound ballast that is now removed? Or is it discoloured without being overheated, due to exposure to smoke from the smouldering plastic of the tube? It looks like the CPC sleeving is discoloured too which would more or less rule out overcurrent.
The capacitor business is interesting but without knowing the exact circuit of the driver within the LED tubes, it's difficult to say what is going on. The original function of the capacitor was power-factor correction, as a fluorescent fitting with wirewound ballasts has heavy lagging pf, and that doesn't apply to the replacement LED tubes. However, low pf can result from two different effects: displacement (where a linear but reactive load draws a sinusoidal current that is out of phase with the voltage, e.g. wirewound ballasts) and distortion (where a non-linear load draws a non-sinusoidal current.) It is possible that the LED tubes have distorted current waveforms containing significant harmonics, and although the capacitor is not correcting for a lagging pf it is nonetheless compensating for that and reducing the effective circuit current for a given load wattage. All would be revealed with a scope.