They probably didn't make money. Insurance won't cover the retail value of unsold product, just the cost to make it. The building owner can get replacement cost for the building, but still loses out on rent.
The insurance company will raise rates to compensate for the payment, but it's probably enough to hurt them for a quarter too.