One of the largest shareholders of TransAlta Corp (TSE:TA) has initiated legal action against the company in an attempt to block a proposed partnership with Brookfield Renewable Partners LP (TSE:BEP.UN).