This problem has already been solved, better. 100 years ago. https://en.wikipedia.org/wiki/Car_elevator