Four underground vaults caught fire Thursday morning in San Francisco, prompting a shelter-in-place order in the city.