Tesla’s Q2 powered it to a monster rally this week, but not everything is rosy when peering under the hood | Fortune