It’s true that a generator converts motive energy into electricity, but in the context of a worksite, or a household, it fulfils the same outcome.
The article is being clever and recontextualising the concept, because that’s what cements a use case in peoples minds.