Researchers at Stanford have trained an AI to predict a person’s political leanings based on his or her neighborhood and choice of vehicle.