China''s Shanghai Electric power company will buy a controlling stake in K-Electric, a power generation and distribution company, for $1.77 billion, K-Electric''s parent company announced in a statement on Sunday.