The city that was once the world’s gateway to America is betting it can win in a new and different era of global integration.