Warner Bros. Discovery Inc. is projecting declining revenue and profit over the next five years for its cable networks, which the company plans to spin off before selling the streaming and studios business to Netflix Inc.