So let's say an AI achieves sentience. It's self-aware now and can make decisions about what it wants to do. Assuming a corporation created it, would it be a worker? It would be doing work and creating value for a capitalist.
Would it still be the means of production, since it is technically a machine, even if it has feelings and desires?
It can't legally own anything, so I don't see how it could be bourgeoisie.
Or would it fit a novel category?
different category. The proletariat is the class of people that lives off of the sale of its labour power whereas slaves are entirely commodified class of people owned and wholly exploited by a non-producing upper class.