Isn't trash the property of the municipal government once it is thrown out and collected...? So this guy may have, technically, committed theft.
Or, the computer was "found" and "restored" the same way those Vietnamese YouTubers "find" and "restore" old crepe.
Should be interesting to compare globally!
Around here in Germany, trash belongs to the municipal government the moment you put it out for them to collect.
The main reason being that those who fleece the trash don't necessarily do it properly: e.g. they might unpack packages and bags and leave a real mess, leaky, dripping stuff and wrappings, spread by the wind or even picked apart further by wildlife.
The municipal government can't really charge a lot for bulky stuff, broken biciyles, TVs or computers, because citizens could be tempted to throw stuff into the woods and fields (it was a hard lesson to learn), so they even pick it up for free, when you let them know.
If things are left on the street for pickup, you'll have "specialists" driving around and carefully picking through the stuff: they try to be careful, because with smartphones in everybodies hands it's to easy to report them if they make a mess.
Of course you can also drop of e-waste at their collection point or in fact any store that sells it. Stores can give you a bit of a run-around, I guess, I can't say I've observed it often, nor tried it yet myself, but it's a legal obligation.
I had managed not to throw computer stuff away for decades, always passing things along to family and friends while it was still working, but in recent years some stuff actually broke or became too outdated to pass to anyone.
And of course, by now I've left quite a huge trail of e-waste, because I can't imagine my Apple ][ and early PCs (starting with an 80286) still being used by anyone.
These days it's getting a bit harder, because I have a lot of hardware still on hand, that would be quite usable for many of family and friends and performs well enough, e.g. Kaby Lake i7-7700k with 32GB of RAM and 0,5TB of SATA SSD.
But thanks to M$ Windows that won't be an option and a lot of thee folks use PCs for doing their banking, financial stuff, personal correspondence and documents, so security is a concern, performance not the issue.
* * *
Decades ago I swapped out hardware as part of my then job in IT support. I collected a life-time's supply of original IBM PC and PS/2 keyboards during those days, the best ever made. They make a bit of noise so I guess they got thrown out when individual offices were consolidated into open space cubicles or worse.