Well, Boeing marketed the 748 mainly as a super cargo airplane. Then added the Intercontinental. They know the VLA niche is already saturated, that's why the first airframe out of Everett was a cargo one, and they have more orders for the cargo version than for the passenger one.
The A380 is a great airplane, that was designed to do things that were impossible before. And it really is doing it's work. But for Airbus it is still a financial pursuit for profit, as it hasn't broken even yet and they need much more frames to get something out of it. While the 747 overall has been a cash cow for years.
The A380 is maybe too big nowadays, and maybe came to the market too soon, or too late (the 747 was the only successfull WB in the 70/80s). But certainly it is very well engineered, as is the 747 that is doing the same job with a 40+ y/o design.