That's exactly what happened. Initially DC was the only option because Mr. Edison personally bankrolled the first electric grids which required building power plants per section of the grid. Additionally, DC was replacing engine based industrialized factories, which indeed had on premise steam or coal engines, and so installing a power plant for just that factory would have made perfect sense. At the time particular time, granted very soon after, AC was not viable. Saying "not at all" is a bit global of a statement considering it contradicts history.