Qualcomm is in advanced talks to acquire Modular in a transaction valuing the artificial intelligence infrastructure software company at about $4 billion, according to people familiar with the matter. The transaction may be announced as soon as the coming weeks. A final agreement isn't guaranteed and the details could still change, the people added.