At least 10 people were injured the pileup, which occurred amid heavy fog and low visibility about 40 miles north of Bakersfield.