Reddit shares tumbled despite beating second-quarter earnings and revenue expectations, as investors weighed the company’s outlook.