A Bilston engineering company has been sentenced after a worker was injured while operating a drilling machine.