An exciting question – and perhaps the answer in the future will be both.
Humans are currently investing in AI, but if AI creates real value, it could one day compensate people through automated labor or digital revenues.
In the end, technology should serve humanity – not the other way around.