Where AI, pro-Israel and other big-money groups spent millions, won and lost in Tuesday’s primaries