The US Supreme Court has rejected the Trump administration's bid to deploy National Guard troops in the Chicago area, despite objections from local and state officials.