The difference is one of syntax: in "student needs", the noun "student" is functioning as modifier of "needs", while in the genitive "students' needs", it is functioning as determiner of "needs".