In a post on X, Kamath pointed to the recent performance of the IT sector to explain why diversified investing often works better over the long term.