No. 9 Oklahoma scores touchdown with seven seconds left to beat Kansas State