Against a backdrop of AI, tariffs, geopolitics, Wall Street’s leading banks are proving their resilience and adaptability.