Hulu is seeking to sell a stake to Time Warner Inc. as part of a deal that would value the streaming-video service at more than $5 billion and advance its efforts to compete with Netflix Inc. and Amazon.com Inc., according to people familiar with the matter.