Entertainment giant agrees to merger with producer of ‘Top Gun: Maverick,’ other hits