Yes, ASICs are application-specific e.g. "fixed". But, I think it's possible to target algorithm implementation that is inherently flexible, only limited by HW constraints (bit widths, RAM depth, etc) and thus cost. Yet, still fully pipelined and much higher performance than alternatives.
My background is ASIC design and more recently 3rd-party IP development for integration into ASICs. In our last design I made heavy use of resource sharing (RAM and holding regs for intermediary values, counters, LUTs, complex multipliers, adders, etc, even state machines).
That got the wheels turning. I believe such an approach can be generalized to support a wide range of computation and thus algorithm development. Even state machines can be configurable if designed that way. All controllable by programmable registers.
Just don't look for AI to take on such a task. Or go ahead and try, it already fails miserably when it comes to RTL design (verilog, vhdl). LOL