The next-generation BMW X3 M and X4 M will go electric, and share their quad-motor drivetrain with the M3 EV.