The PS3 tilt sensor is GameBoy Color technology, hardly expensive. The cost of the PS3 boils down to three things - harddrive, cell, blu ray. That jacks it up and even at $600, Sony sells at a loss.
This is without even taking into account millions for R&D, marketing, etc. (I think.)