The Gulf’s rulers may hope their close ties to big American tech firms will help insulate them from such machinations in Washington. Google, for instance, plans to set up an AI hub in Saudi Arabia.