Qualcomm to buy AI startup Modular to strengthen AI software push