It's possible to do some or all of this in software. Tesla has an ordinary open differential but will apply the brake on an overspeeding wheel. Tesla's all wheel drive system has a separate motor for the front and rear wheels. Power distribution between the two during acceleration is mostly equal, but once speed stabilizes, the rear powertrain takes most of the load. Off-road slip handling doesn't seem to be well documented, but Tesla cars aren't intended for off-roading.
The most advanced systems are seen on locomotives. Modern heavy locomotives (GE Evolution series) use three-phase AC synchronous motors driven by IGBT inverters from power from a Diesel generator. Each axle has its own motor. All axles are normally locked together electronically by the control software, so no wheel can slip ahead of the others. Locomotives can be cabled together so that the axles on multiple locomotives synchronize. Now that's all-wheel drive. This is a huge win when starting a heavy freight train. Locomotive axles that are slipping provide little pulling power and damage the tires and rails.