The logs are stored on an SSD , which is literally the only part you need to replace when donating or reselling a PC. Any enterprise company should have a policy ensuring SSD destruction.
Most laptops will last a long time assuming they aren't abused. I guess the SSD wears out, but that's a 50$ part.