A growing number of investors are paying governments in Europe for the privilege of holding their bonds. The amount of negative-yielding government bonds outstanding through 2049 has risen by 20% this year to about $10 trillion, the highest level since 2016, according to data from Deutsche Bank Securities.