There are several LLM programs in the UK that can be studied without an LLB and do not lead to the practice of law, but none I know of in the US without a JD. Generally, a law school in the US will offer the option of a Master of Legal Studies (MLS) for people who want to study law, but not practice it.