In the US it's common for entry level or apprentice to be the ones making a trench on residential jobs. It's part of the hazing culture, my best guess, that the older workers pass down. I hired electricians and they did the trenchwork with shovels.
Anywhere that builds houses
Not at all. I have never seen electricians dig a single trench here in Europe.