Two of Wall Street’s top investment banks cautioned that the impact of a court ruling striking down many of President Donald Trump’s tariff measures may prove limited, given that the administration has other avenues to impose import duties.