The global race to build infrastructure for artificial intelligence is giving world trade strong momentum at a time of higher tariffs and geopolitical conflicts.