A Toronto man who fatally stabbed a stranger at a TTC subway station has been sentenced to life in prison with no chance of parole for 18 years.