I was helping my nephew bleed the brakes on his K75 a few weeks ago. I depressed the brake pedal too far and the piston got stuck in the master cylinder. The piston tip was flush with the edge of the MC. I tried unsuccessfully to pry it out with a sharp edge. :dunno2:
I checked Clymers and they suggest taking it to a dealer who likely has a special BMW tool.
My nephew came up with a brilliant solution. He cut the end off a bicycle pump's hose and clamped that hose to the MC's input from the brake fluid reservoir. He plugged the MC's output end. He applied pressure on the bicycle pump and, voilą, the piston popped out to its extended position. Problem solved.
Sorry - no pictures from his garage, but here's something to illustrate the solution.