Question: tbbt how the elevator broke?
Answer: It had been broken ever since Leonard tested out an experimental rocket fuel formula which began to explode, with Sheldon saving Leonard's life after he tried to take the fuel outside by going down the elevator, but was stopped by Sheldon closing the elevator after taking Leonard out, in "The Staircase Implementation".