A Swindon-based scaffolding company and its director have been sentenced after a worker was left with life-changing injuries.