Thanks to the U.S. economic expansion, corporate tax overhaul and post-financial crisis rules that bolstered safety, banks have been thriving.