Toyota Motor Corp. and the Japanese telecom company Nippon Telegraph and Telephone Corp. (NTT) are investing 500 billion yen ($3.26 billion) in artificial intelligence research and development to create advanced software aimed at making autonomous driving safer.