Qualcomm has agreed to buy artificial-intelligence infrastructure software company Modular to expand its data-center ...