I believe the US made money on the banks bailout, but not on the automotive one. It does not matter, it was done for a very good reason - we would likely still be in a recession or worse if it was not done at the time.
The US proved it believes in it's economy and restored confidence in the market - and the recession was over in about 18 months. When the Japanese did not do the same - they had lost a couple of decades to bad economy - so the decision was right in it's entirety even if some elements of it lost money.