Shares of domestic IT stocks - Infosys, TCS, Wipro, HCL Tech, Tech Mahindra - rallied up to 4% on Friday after a sharp rout in AI stocks continued to rattle investor sentiment.