Tesla is building data centers in Buffalo, New York, and Austin, where it’s headquartered, to process the footage captured by its vehicles and train its driving systems. The Buffalo site is further along, while the Austin one is struggling with cost overruns, people familiar with the projects said.