It depends. A company is liable for the negligence of its employee, but not for the negligence of an independent contractor. The company may have itself acted negligently, however (through negligent hiring, for example). Uber drivers, for example, are considered independent contractors, and so are commercial truckers.