> People eat a lot and exercise to lose weight. They don’t eat to only replenish expended energy. They over consume then often compensate with exercise. So a particular rider might eat more or might eat the same regardless of whether they pedaled or they used electric power.
Some diets aren't as efficient as others though. Feeding corn to cows then eating the cow meat is going to be vastly less efficient than eating the corn directly for example.