This is what regulation is for.
The ECB pumps billions of euros into the banks in order to incentivize credit flow to businesses. What do the banks do? Computers tell them that providing credit to businesses and consumers is too risky, banks listen to computers and banks invest in stuff with more risk than playing poker in a casino.
Regulation does not work in finance - because banks continue to evade regulation as good as they can.