A Tesla's electronic doors malfunctioned after the car lost power following a horror crash, which left four people trapped inside the burning car, unable to escape