Take the electrician example: what happens if an unlicensed electrician kills himself when performing work? Does his family get to collect from your homeowner's insurance? Can they sue you? Are you criminally liable?
What about when you sell the house? Should you have to disclose that someone unlicensed did the wiring? What if you don't and the house ignites in a fire one night caused by improper wiring, killing the future owners, are you responsible? Is the electrician?
And you don't even want to touch the potential for abuse... regulation causes a lot of problems, I completely agree. But it serves to protect the public; we're effectively paying for protection against deception that capitalizes on our lack of knowledge in a specialty. That's worth protecting.