the diversity of species is rapidly shrinking.
→the species diversity is being lost rapidly.

1.diversity of speciesでも正解だけど、species diversityという用語が定着してる
2.コロケーションの問題として、diversityがshringするという表現はまれ
3.rapidlyの位置を動詞の後ろに置いた方が、「急速に」種の多様性が減っていることが強調される