Both specialized & cube have 11 speed rear sprockets. If you commute very much, you're likely to have to change the chain every 1000 miles or less. Road bikers report 1000 mile life on 11 speed chains even without power.
Both have mid drives. Great for off road rock climbing. Better not run out of battery. The Cube has a Bosch motor, very likely to drag the motor with your feet unpowered. Their top of the line model does not, and I don't think CX is the top of the line. Specialized has their own motor, no telling if it drags unpowered. But mid drives known to freewheel the motor when unpowered are Yamaha, Brose, Shimano Steps.
The specialized has bosch 500 battery, rather small if it is 500 wh. Spare Bosch batteries are not cheap. the Cube is 710 wh, which might be okay. I chew up 2/3 of a 840 wh battery in 27 miles on windy days, and 100% when I had a ebikeling motor. But I cross 66 to 80 hills.
2.4" tires would be very useful on and off road. My bike allows 2.1" and I use all of that for better ride, on road. 2.4" tires won't float on powder snow, but then powder snow turns to ice in a day usually anyway, and you need spiked tires for that.
I ride without power 80% of the distance, and 100% of the distance mid December to April. LiIon batteries don't take well to freezing. Don't ever charge one below freezing. I put my battery in the garage under a heat pad the winter months, and re-install it when freezing weather is over. With that regimen, my battery is working fine going into its fourth year. My geared hub motor rides around like a 7 lb weight on the front axle all winter, balancing the load of tools supplies & groceries I put in the pannier at the rear. No drag unpowered from geared hub motors.
As far as winter commuting, I rode 8 m RT to the grocery today at 38 F & 13 mph wind. You just have to wear clothes. Got a bit damp against the wind, had to unbutton & unzip some. I've been out at 6 F, but a helmet liner is necessary, and oven mitts over farmer wells-lamont mittens to prevent frostbite. Wrap around glasses too, and plastic wrap over the vents in my helmet.