Mostly they do it to steal data which they can sell.
Why not just steal the data and leave the computers alone? What is to be gained by destroying the computers of unknown faceless users?