Gambler sent to jail for defrauding companies