Beaumont man gets automatic life sentence as repeat sex offender