Earlier quoted context omitted.
Funnily enough the exact same thing happened to my work Macbook. Display just stopped working one day. Work sent it back to Apple to repair which took them a few weeks. I once owned a iBook (back in the PowerPC days) that had to go back to Apple on no less than four different occasions to fix faults. All repaired under AppleCare as I fortunately had the foresight to pay for it at the time of purchase. I've also owned…
The engineering of the X1 Carbon is amazing. Durability is a design goal, it even has channels for directing liquid ingress away from the most vulnerable parts. Whilst not a guarantee against failures, it certainly doesn't hurt! My own OG X1 Carbon (i7/8/256) still works today, and, amazingly, receives firmware updates. It is 9 years old.
P.S. MacBook pro still works ;)