Just to clarify... I'm not suggesting at all that any DIYer should be encouraged to install, for example, a MCC or central air or for that matter replace a furnace (electric or otherwise). But where do you draw the line when you talk about "electrical equipment" that the consumer shouldn't be allowed to buy? Does it include wire, switches, receptacles, light fixtures, breakers? All those things if improperly installed can create hazards and lead to fires, etc.
But how many of us have replaced hot water tanks or leaky faucets or added a shower in the basement or made a rec room in the basement? All areas of concern that could create hazards. What about welding machines? How many of us own them too? And having a license is no guarantee that safety will be assured. Just have a look at our highways.
Don't get me wrong. I'm not advocating anarchy. But if Home Depot (and others) hold handyman sessions, or whatever they call them, then the least we should do is ensure that the leaders of these sessions are qualified to teach the subject matter and that the attendees know the risks involved in what they are doing. Not just the physical ones but, for example, property insurance risks. And also that their work must be inspected.
And by the way, trying to solder copper pipe close to a stud wall can certainly cause a fire. And one more thing, I don't recommend trying this, but if you take a can of hair spray, push down on the valve and hold a lighted match to the spray, you could probably weld schedule 40 pipe. Never tried it, but saw it in a safety demonstration "way back in the old days".
Have a good day,

Andy