The apparent drive-by shooting occurred in Lomas de Chapultepec, an upscale neighborhood in Mexico City, authorities said.