Wind and solar farms are attracting interest from investors hungry for low-risk, stable-yield opportunities at a time of extraordinary market volatility.

That interest is a boon for renewable projects, and could give them a financial boost in coming months and years. However, developers could face challenges in getting additional new projects financed and built amid the turmoil created by the new coronavirus.

It...