There are several problems with abandoning recoil as your mechanism for powering the cycling of the weapon.
1) Recoil is "free" in that it is an inherent property of firing the weapon. That energy/momentum has to go somewhere, and using it to cycle the firearm is a low-cost, high benefit process. Adding some electronic method would require a power source (battery), as well as some type of motor and associated mechanism to actually carry out the cycling. This adds weight, complexity, weight, more systems to fail, and don't forget, WEIGHT.
2) The cycling of a slide absorbs and spreads out the impulse of the firing cartridge, reducing felt recoil and the shock on the frame. Switching to a separate method of cycling the weapon means that you are going to subject the body of the firearm and the hand/arm of the shooter to a sharper recoil. This will cause faster wear on the firearm (fatigue cracking, etc) and more discomfort and fatigue on the part of the shooter.
Mike