Four people were killed at a mushroom farm and three at a trucking firm in Half Moon Bay, Calif., about 30 miles south of San Francisco. A suspect has been arrested, officials said.