Tesla is not getting any special advantages that other companies don't get.
"It will not pay property taxes for a decade, which would otherwise total an estimated $260 million."
Not a subsidy. A tax break. If it wasn't offered, then no factory and zero property tax. /2
"The federal government provides grants or tax credits to cover 30% of solar installation cost. SolarCity received $497 million in grants from the Treasury Department."
These are benefits available generally to solar businesses.