Hijacking top comment to report that: This is true across the industry for (most) OEMs
The Secret is to buy "Enterprise level"
Check out the LATITUDE line https://en.wikipedia.org/wiki/Dell_Latitude
Those are enterprise fleet laptops ... the ones they have to support for 5-10 years.
You know which line they don't discontinue parts for? You know which line has repair manuals and driver updates available? wanna take a wild guess which line is usually more modular and powerful at the expense of being less sleek looking and thin?
And the best part is that you can usually buy them fairly cheap if you find them used.
I prefer Dell Latitude to HP Elitebook, Thinkpads are OK too but they've gone down in quality a lot since they got bought by Lenovo
TL;DR = Buy an enterprise level laptop, consumer line laptops are all trash,