The man who killed a Columbia University student in a random attack near campus in 2021 was sentenced Friday.