CoStar Group’s stock cratered in Wednesday trading after the real estate data giant offered a lackluster outlook for 2022 and outlined significant investments in residential products. Its share price fell 15 percent on the day.