Is it ethical to do paid literature searches of research journals for other students?
What would be unethical is for the other person to misrepresent work that you did as having been done by them, or for you to knowingly aid someone in such a misrepresentation. It’s important to credit people for the work that they’ve done.

There's nothing intrinsically unethical about the work you describe, or about charging people for it.