US investment management firm Affiliated Managers Group Inc (<a href="https://www.nyse.com/quote/XNYS:AMG" target="_blank">NYSE:AMG</a>), or AMG, has agreed to buy a minority stake in Madrid-based renewable infrastructure developer and investor Qualitas Energy, the latter said on Thursday.