The stock market rebounded Wednesday on tame CPI inflation data, with hard-hit Tesla, Nvidia and Palantir dominating gains.