A water company has apologised after 80 homes and businesses were left without water during a barn fire