The Tencent investment comes as a vote of confidence in Snap a day after it posted a huge revenue miss.