The US Supreme Court has sided with the maker of Roundup weedkiller in a ruling that is expected to block thousands of lawsuits alleging it failed to warn people that the product could cause cancer.