Some analysts view Netflix’s move to acquire Warner Bros. as a sign that it is worried about the growing strength of YouTube and TikTok among younger viewers.