While Xbox did have some good ideas and features that eventually made it to PS4, PS4 won because it was more powerful, had a more consistent library of great games, and was cheaper. Xbox didn't do a great job explaining what they wanted to do and actually scared a lot of gamers away.
Plus PlayStation has always been the bigger brand.