A US court ruling limiting President Donald Trump’s tariff powers has weighed heavily on the Australian sharemarket.