TOKYO -- Toyota Motor Corp. and Mazda Motor Corp. have discussed electric vehicles and connected cars as part of at least 10 potential areas for cooperation, the latest indication Japan’s automakers will join forces to cope with technological trends shaking up their industry.