Safe to say that both programs lost money, but the A380 was a financial disaster for Airbus of a different scale. They spent $25 billion on the program (six times what Boeing spent on the 747-8) -- and lost most of it.
You really cannot compare a new aircraft with an update...
in the long run, Boeing is going to pay $4 Billion just to update MCAS on the MAX....
forget about the engineering cost to design the MAX.
In reality, the A380 has to be one of the best aircraft ever designed (to date).