Given that nearly all your weight is on the back wheel, bugger all?
TBH it depends upon the bike. A hardtail won’t be subject to pedal induced suspension movement, but something like an enduro bike will. If you’ve ridden a slack enduro bike up a chalky, slippery incline then you’ll know that it’s a constant balancing act – the incline will push your weight backwards, so you need to keep your body low to hold the front end down. Moreover, any pedal induced squat will break traction, causing a loss of momentum when least needed. A 2wd system with a locked torque distribution would allow you to put more weight over the front when climbing.
Admittedly, this is a bit of a straw man example that only applies to me when my local trails are sodden through and I normally get off and push, but if a 2wd system could be incorporated into an e-bike then it would be a giggle to climb.