I agree with the above post. Five to ten years from now, the market can change and the 747 or derivative, with greater capacity than a 777X can be in demand again.
Boeing did contradict themselves by saying that they also anticipate the 747-8i to remain in production. They have also contradicted themselves in 2007 by designing the 787-10 and announced that the version 10 was "beyond the design limits of the airframe" thereby not advancing the design further. Now this year, Boeing retracted what they said in 2007 by offering the 787-10, as a design again....