Most of my laptops that does not last more than 2 to 4 years are those with cheap plastic casings. The first thing that will give-out were the hinges, plastic mounts for the hinge screws will break even with normal usage of opening/closing the laptop screen. If you want to buy a laptop that lasts, buy the ones with metal A (display shell), C (top case which houses the keyboard, palmrest, touchpad, etc.) panels. This means that a macbook or any Windows laptop line that have magnesium or aluminum builds.
It helps which app you mainly use.