The worst thing you can do to a computer or laptop:
1) Have it plugged into street power, without any power conditioning or suppression.
2) Have it plugged in without a top quality battery backup that remediates #1.
3) Routinely turning the units off.
I've been an IT officer for 30 years, and it is rare that systems are turned off, whether they are rack-mounted servers, midrange or mainframe systems. The field engineers and customer engineers stay on-site, as the power on process is the most prone for failure. Their vehicles are stocked with the most failure prone parts to minimize downtime in the event a part needs to be swapped out.
My one home computer is a Dell Dimension 8100, which is on it's second power supply, since it was built in 2001. My work laptops are never turned off, unless I am transporting them or going on a vacation. My current one has been powered up for almost a year now. I leave my systems up, through all but the heaviest of thunderstorms, and even then, some hit when I am away from the house, while they are powered on and idle. Sure, it burns more power, but component failure are minimal. The PSU failure and a HDD grinding after 10 years, were the only two issues with the Dell in 16.75 years. One Thinkpad, 8 years ago, had a HDD failure after 2.5 years.
Repeated power-offs and ons, cause slight surges and create rapid heat expansion on previously cooled CPU, mainboard, storage and PSU. The momentary power spike and the thermal expansions and contractions between power cycles is what really kills a system. My next system will be a higher efficiency SFF, which also will remain powered on for long durations.
If you want to destroy your battery in a laptop, keep unplugging and plugging it back in. Each time you do that, it counts as a charge. To prevent laptop batteries from catching fire, there is counter circuitry that will slowly inop your battery when it gets close to the count limit. This is their best way of determining when a battery might fail and disable it beforehand. Our laptop batteries routinely last over 3-4 years, whereas those who plug and unplug frequently might see a 1.5-2 year lifespan.