What affiliation do I choose if my scientific work is unrelated to my job?
There are two main paths here:


You can list yourself as an independent researcher, which is appropriate if you are not doing this "on the clock" at your current position and use no company resources.
You can list yourself under your current employer, which is appropriate if you are doing this using work time and/or company resources, even if the work is not related to your position's responsibilities.


If you are working at a company that participates in research (even if in another field), they probably have policies that apply (possibly including pre-submission review), and you should have a discussion with your supervisor and/or other folks who are engaged in research there. A clause in your employment agreement might even mean that you cannot be an independent researcher.

If, on the other hand, you are working for a completely non-research organization (e.g., a paper company), then you probably should be doing this as an independent researcher and keeping everything off the clock.

Finally, there is a somewhat more complex third possibility to also consider: if these collaborations are part of a long-term relationship with a university, your collaborators might be able to get you some sort of "visiting researcher" or "associated researcher" affiliation. These "positions" have no money associated with them and are really just there to simplify the logistics of collaboration, so they are often pretty simple to arrange, and could actually be the most appropriate description of your position with regards to your research.