If it weren't for government force, those credits that netted Tesla millions would never have been purchased. Therefore, they have the same net effect as if the government had taken the money from the buyers and given it to Tesla. That is logically equivalent to a government subsidy for Tesla (or any company in their position).