Tata Motors stock rebounds 22% from June low, nears record high