A worker has been killed when he was struck by an excavator at a roadworks site in Perth’s northern suburbs.