US chipmaker AMD to buy AI infrastructure firm ZT Systems for $4.9B