The purpose of this clinical study is to find out if NNC4005-0001 is well-tolerated and safe for people who have increased body weight and increased liver fat. Participants will receive either NNC4005-0001, which is the treatment being tested, or a placebo, which is a treatment that contains no active medicine. The study will last for about for about 7 to 8 months.