There are many cases, keyboards, folios etc for the iPad Pro (they're like insects there's so many). If you choose the right one, your iPad Pro may be even sturdier than a MacBook Pro. There are other things to keep in mind though:
-The MacBook Pro has significantly longer battery life than the iPad Pro
-macOS allows you to run many more apps than iOS (which only allows Apple App Store apps)
-The iPad Pro offers a cellular model for places where you can't get wifi. The MacBook Pro doesn't.
It ultimately depends on what your needs will be.
btw, whichever you pick, be sure to take advantage of this special offer before Sept 27! https://www.apple.com/us-hed/shop/back-to-school