As a note, it is possible to be in a Ph.D. program and not be an employee of the University, at least in the US. Being on a grad student stipend is usually a choice. Advisors are treating you like that because you allow yourself to be treated like that.
Yes, I have a PhD. Yes, I paid my own graduate school tuition. Yes, I had a successful career in ML.