Nvidia’s chips are driving the United Arab Emirates’ rise as an artificial-intelligence power. Next on offer is free software, a model built to rival China’s best.