The Ukrainian invasion has prompted major American companies such as McDonald’s and Airbnb to reconsider their presence in Russia.