By keeping interest rates low and in some cases negative, central banks have prompted some of the most conservative investors to join the hunt for higher returns: Other central banks.

Central banks from Switzerland to South Africa are investing a bigger share of their growing foreign-exchange reserves in equities, corporate bonds and other riskier assets.

Branching...