Cable giant Comcast Corp. is getting the pieces in place to make a hostile bid for 21st Century Fox’s entertainment assets should it choose to do so, according to people familiar with the situation.

Fox agreed in December to sell the assets in question to Walt Disney Co. for $52.4 billion in stock.

Comcast is considering making a play to break...