Every company I know of other than Microsoft who did that is either out of business or Sony. As far as I am aware, Nintendo has never taken a loss on hardware, or at least doesn't make a habit of it.
Nintendo has always been an exception, every other console maker did it. Even Nintendo changed their tune for a while, taking a loss after the 3DS price cut.