True, but that is changing. Inverters are not very expensive anymore, provide cleaner power, and can match the frequency of the something else allowing you to put several generators in parallel and disconnected one for maintenance. They also allow running lower RPM which at lighter loads can save fuel/money. (A constant rpm generator often uses more fuel at 50% load than at 80% load!)
Inverter generators can also sell power back to the grid. To pay for the fuel you need more than the typical retail price of electric, so this is only worth it if you have a need for a backup generator anyway. However if you have this need talk to the power company, they often will give you a discount because when there are load issues (See Texas last week), and the ability to add power to the grid in this time will be something they are interested in.
Today most large generators are still constant RPM, but I don't expect that to last.