BERLIN/FRANKFURT (Reuters) – German robotics maker Kuka is on the brink of agreeing to an investor agreement with Chinese bidder Midea that includes a long-term commitment to existing headquarters, factories and jobs, a source close to the negotiations said.