GM is better because a better company came along and made a better product that forced GM to improve. ( Toyota, Honda) Giving 50 billion dollars in free money is another way to make a company better, for awhile
This part, "pick and choose which companies to [invest in] based on a [...] calculation on how much ROI would be generated" is very much capitalism. As to whether the government has a right to be in those brackets, to do that or not, that's a decision we make, not an objective truth. And our government has been doing this kind of thing since the founding (thought the scale has changed).
It's more appropriately called "crony capitalism", since the ROI becomes secondary to which political interests are served by making said investment.