This is the central plot in the “Life 3.0” book that came out a few years ago.
[SPOILER] After the singularity, AI is able to dominate all markets – starting by gaming and entertainment – in order to generate cash to rent more servers to improve itself.
Even after the singularity the almighty AI has to work to pay rent...