4,750 units of the 60kWh car at $62.4k yields $296.4m in revenue. If 4% of the orders are for the 40kWh car (190 units at $52.4k), there'd be at most $1.9m in lost revenue by "giving away" the slightly beefier battery.
It's plausible they'd still come out ahead given the cost savings of not setting up that production line even if they gave away all 190 software upgrades for free.