I'm pretty sure in the canon ending only the underground is burning. The actual Pizzaplex is safe, including all the people/animatronics inside.
LOL What I don't get is, how would Freddy and Gregory escape? Wasn't that elevator a one-time use XD?
EDIT: LOLLL Did they dig a tunnel?? Is there a Secret Tunnel (through the mountains)?