Two companies have been sentenced after a construction worker suffered life changing injuries when he received an electric shock from an overhead power line.