Fire officials in Sacramento said a Tesla Model S burst into flames when its battery compartment spontaneously caught fire.