It is true that psychology as it is currently practiced in many places has one of the worst replication crises [1] of all sciences, with lots of p-hacking and other unethical practices going on as researches attempt to get publishable results in a field where most data you get is necessarily messy and difficult-to-control confounding variables abound. But that's more about the usual perverse incentives in the academia rather than a fundamental problem with the field itself.
Oh, I was genuinely unaware that the replication crisis was such a big problem in psychology - It makes a lot of sense though, and it was a fascinating read :) And yes, I do agree that there's a problem with incentivization in all the sciences.
In my view, the impact of the replication crisis is to leave us with a science that embraces scientific methodology but has not produced a reliable scientific knowledge base and is burdened by an unscientific past. Digging out of this mess could take a long time, and is not guaranteed to produce results that are interesting to the general public.
I think psychology could bring valuable insight into the future of AI as well. It's a shame that most psychologists involved in tech are in HR/communications or at best tasked with keeping people addicted to whatever social platform they are building.