You call selling >150m consoles over 3 generations a failure?
What studios has Microsoft shut down recently? AFAIK, wasn't Sony the one who shut down Evolution Studios (DriveClub), also shut down Manchester Studios (PSVR AAA titles) recently this year, and a UK-based Guerrilla Games studios in 2017?
As for building studios/nurturing talent, both Microsoft and Sony have done this, but Sony Entertainment has grown into the juggernaut it became in the 2010s through savvy acquisitions (Naughty Dog, Sucker Punch, Media Molecule, etc.).