Appearing before lawmakers Tuesday, social media companies YouTube, TikTok and Snap sought to distance themselves from the backlash facing rival Facebook Inc., emphasizing they have established privacy protections for kids and teens on their platforms.