Most gambling sites dont "bankrupt" , the term is not correct t all. Most goes out of business because they are not making enough to cover their expenses however you will rarely see the term of bankrupt usage as it tends to mean that a player wins everything on the site and it makes the site out of business actually
As long as gambling site is unique and they can do a proper marketing to attract more people to play then they can easily make a profit. But if no one is playing any games for any reason then mostly they will close the site because can't pay all the expenses. So we should invest only on well-trusted sites to avoid these situations.