You pays your money...
I've had pcs of various kinds since forever. From Amigas,Apricots and Apples right to Yogas (no Zs). In all cases but one they have lived to the point where they were replaced with the next version up. I've had to return only two devices and they were where I decided to buy really budget tablets as an experiment so my own fault. I have a healthy upgrade system with laptops - I replace every 18 months and the other half gets the old one and then hers goes to a friend, child, etc. There is an Acer laptop over 4 years old at a friends house going strong.
In all this I would rate the build quality of them as Apple and MS joint top - my Surface is brilliant well equal to an ipad - Dell next for my excellent 7000 series lappy and a series of work purchases that were very solid. All the rest I would lump together as as good as each other depending on what you spend.