PlayStation 4: ~117 million units shipped (lifetime).
Xbox One: ~58 million units shipped (lifetime, Microsoft stopped reporting 2016; estimate).
PS4 led nearly 2:1. Xbox One's early missteps (Kinect bundling, $499 price, DRM messaging) ceded momentum Sony never relinquished.