Originally it was a safe building, even without sprinklers: there have been many fires (inevitably) over the years in similar buildings which have never spread, because it was impossible for them to do so. Sprinkler systems would have made them safer & perhaps saved individual lives in the past but at no time were entire buildings at risk because of the lack of sprinkler systems, because it wasn’t possible for them to burn.
Unfortunately, covering the building in flammable insulation (!) and even more flammable rain cladding (!!) completely broke this safety case, turning the building into a death trap.
The idea was that the tower is almost all concrete, a fire on any one floor shouldn't spread as there is little to burn. The problem is that later modifications to the heating system and the addition of the cladding have changed the design a lot.
In any case, in the past 10 years the consensus has been changing towards it being prudent to just always require sprinklers in high-rise towers. Scotland began requiring them in 2005, and England in 2007, but neither law is retroactive.