"Five years after a near-death experience, Lego has emerged as an unlikely winner."