A former Texas college student accused of trying to make a bomb to carry out jihad in the U.S. has been sentenced to life in prison.