Struggling Japanese carmaker is pursuing tech rather than automotive ally to revive its business