Sony just needs to cut down support for Vita, sell off their TV division, and continue putting a shit ton of emphasis on supporting PS4 and their smartphone division and they'll be golden. If they do that, they should start turning a good company wide profit immediately.
As for Nintendo , since all they are is a video games, they can only hope the 3DS remains and pray for a miracle with the WiiU. Because the WiiU does seem to be getting out of its rut anytime soon, I'd say their future is more grim.