An Islamic State-inspired taxi driver who tried to behead a London Underground passenger has been sent to a high-security mental hospital to begin a life sentence.