The Totoya Prius is a hybrid. Its a good car - combining the best advantage of the internal combustion engine - gas powered car with an electric assist battery. This technology is proven.
The Nissan Leaf on the other hand is an electric car and has more limitations than a hybrid. Its still nowhere close to being profitable.
Sure, its really just a commuter car or good as a second car in a two-car household.
It might be a few years before they make a profit as a whole, including development costs. But it seems, according to this article, they they are just starting to make a profit on a per-unit basis.