Heightened anxiety about the threat from artificial intelligence and suddenly shaky bets on private credit delivered another bruising selloff in shares of banks and asset managers.