Almost half the world’s known flowering plants could be threatened by extinction, scientists warn.