With net metering, if a customer generates more energy than they consume, the utility does not cut them a check at the end of the month, it only offsets their use, possibly with limited rollover. On average, the customer only consumed their own energy and the utility got some for free as well.
I would also point out that with solar this free excess is directly helpful to utilities because it happens in the middle of the day when summer energy use peaks. This allows the utility to have less base load capacity which saves everyone money.
Feed-in laws require utilities to buy all power fed to the grid at retail rates. They generally don't exist in the US but Germany grew a lot of its renewable capacity that way.