Yes, they may feel they need to fund more research to stay ahead of the competition and keep the contracts they are currently getting rather than lose them. Maybe the future profits from staying ahead of the pack (or close) are worth more than the expected future growth of their Tesla stock over the current value.