Officials said a gas leak might have caused the blast, which destroyed a building and rattled a part of the Greek capital that draws many visitors.