Global markets mixed amid AI profitability concerns, Middle East tensions