TCS said M&S ended the helpdesk contract months before the April cyber incident and denied any role in the breach.