Tesla loans where through a government program to increase the development of alternative energy vehicles. Tesla applied for the loans through this program. GM basically ran themselves into the ground with a bunch of bad business decisions and then came hat in hand to the government asking for a bailout of significant proportions. GM got 10's of Billion dollars. Part of that was in government money(loans) and part of was that the government gave GM money and got GM stock back. So the government still owns that stock. Until the government sells all of it's GM stock I really don't count that as GM paying everything back.