A software engineer at Google is facing federal charges after allegedly betting on confidential company information on Polymarket, netting more than $1.2 million in profits.