Shares in artificial intelligence data-center companies fell Thursday—the president’s $500 billion spending drive might raise ...