For most companies maximizing shareholder value and making customers happy are highly correlated. No amount of AI features will save their stock performance if their customer base stalls.
Broadcom-like companies (monopoly) and Google-like companies (you are the product bla bla bla) are exeptions though.