Weight loss drugs and bariatric surgery may work differently, but they lead to surprisingly similar results inside the body.