JP Morgan and a consortium of unnamed investors are taking a $400 million equity stake in two US wind farms.