YouTube, TikTok, and other major video-sharing platforms will be told to carry public service content prominently under new UK legislation.