Worked is a strong word. The A380 is rather on life support since it's basically only serving very few customers. On the whole this is a strategic loss for Airbus.
It essentially killed passenger versions of B747. Because there was no competition in that niche of the market, before A380 Boeing was able to earn very nice profits making them. 747-8I is more than 3 times more expensive than B737 MAX.
Yeah but since then the 747 model has fallen out of fashion, since the market is now linking smaller airports to each other rather than relying on very few large hubs - and regulations have also made it possible for bi-reactors to fly much longer distances than before, accelerating the transformation of the whole routes model.