The technology giant issued a profit warning with weak preliminary results for the second quarter, after sales reflected a shift of budgets to the worlds of artificial intelligence at the expense of software • The stock fell by more than 25%