when the PS2 came out, there was the gamecube and the xbox, and just before that the dreamcast.
when the PS1 came out, there was the super NES, the genesis, the saturn, soon after the n64.
basically they're taking a chance that their investment will pay off. remember that they have millions of potential customers and loyal fans AND many people will get more than just the one console.