The games you play in online casinos do not actually belong to the casino: They all run on the servers of the company that developed them.
Online casinos do not purchase these games, they only rent usage rights for a certain period of time. After signing a contract, the provider will offer its games to the platform of the casino and players can start playing.