To harp on avhon's point, ThinkPads have specific lines where most parts are made to be easily replaceable: the RAM, SSD, wi-fi card, fans etc. are user accessible. Not all ThinkPads do, so you need to at least care about the line (X, P, T, E, etc., it's a whole world), and check the repair guides and community reception.

Panasonic also has a stellar reputation in that regard.

Bear in mind they will break and you'll be hunting for parts, it's just a lot easier and viable than some other laptops.