TCS's recent layoffs raise critical questions about the relevance of its leadership in a world where algorithms write code.