If the company ultimately has no need for workers, then it's competitors won't either. And as they compete on price there will be no reason for the goods not to sink to the raw ingredient price + cost of capital. With the hypothetically perfect AI this will sink to near 0 + raw material cost (which itself will be plummeting due to AI).
I have long thought that automation will result in goods being so cheap that it becomes unconscionable to not provide them free of charge to anyone who asks for them, within reason. Think like how we do not charge for air, or a glass of tap water (in the USA). I'd love to work on making it so other goods become as such. Simple diet like rice and beans, simple clothing just jeans and a plain tshirt etc. Call me a communist but I think as a society we can get to a point where these things are just free because the cost of accounting for who gets what is higher than the value of the stuff.