Here in the UK, some large industrial plants generate their own electricity, often because this is more economic if a lot of process heat or steam is needed.
Most have a grid supply as a secondary or backup source, sometimes to provide a limited supply for lighting and tools during plant shutdowns.
Isolated premises without a grid connection are often reliant on a generator, it is prudent to have 2 generators in such cases.
I have installed a system recently, 8KW diesel generator with engine cooling water used for underfloor heating.
The engine is run as needed, typicly for 4 hours a day in winter, and a few hours a week in summer. A battery bank and inverter supplies low power loads when the engine is not running.
Cooking appliances, clothes washer, large power tools and the like normaly require that the generator be run.