Michigan on verge of legalizing sports betting, internet gaming