I think it has to do with how strongly they started with both luck and accepting how future tech would play out. But also their name so heavily associated with consumer tech.
By the time PlayStation came to market, pretty much all other non-major console platforms ceased to exist or were faltering dramatically (TurboGrafx, 3DO, Atari, etc) outside of Sega and Nintendo. Sega shot themselves massively in the foot with the Genesis add-ons then the famous pricing announcement of the Saturn that Sony trounced them on with the "$299" checkmate.
The Saturn was notoriously difficult to program for, and the console launching the way that it did lost third-party games fairly quickly. Nintendo then stuck to their guns with a cartridge based N64, most notoriously losing Squaresoft in that decision, and pretty much lost all other major third-party companies that haunted them for a LONG time afterwards.
So that combo of competition shooting themselves in the foot brought all the third-party support to the PlayStation early in the consoles lifetime, so there was an abundance of games on the platform and when that kind of support continued even further in the PS2 era, PlayStation's long-term survivability was insured.
5th gen and 6th gen console sales weren't even close. Closest to a console monopoly we've had. A decade of that kind of dominance allowed Sony to survive their "Sega moment" with the PS3 announcement of a high-priced console and a platform that was difficult to program for.
PS4 was then handsomely won by, again, competition shooting themselves massively in the foot lol. So the combo of consistently great games and competition not doing themselves any favors, has greatly benefited PlayStation in the console space to the point where even now at a time where exclusivity is becoming less and less common, especially amongst third-party publishers, PlayStation continues to thrive.

You called down the thunder, now reap the whirlwind







