WASHINGTON—Japanese automaker Toyota Motor Corp. outsold General Motors Co. in the United States for the first nine months of 2021 as the Detroit automaker grappled with production problems stemming from the semiconductor chip shortage. Toyota during the first nine months sold 1.86 million vehicles compared with GM’s 1.78 million, or just over 80,000 more vehicles,…