That's an additional device, additional financing potentially on a different life cycle, potentially a different account to manage.
For a dedicated iOS dev that's worth the hassle, for someone managing a team of devs or employees only needing apps to run without requiring a full dev env, it's quite convenient and potentially cheaper.
Check the apple promo material photo of guy doing UI development on touch mac. Theres iphone on the table possible even closer to him that the screen that he's touching :)
I have a Linux laptop with touchscreen, and my main use is to test the touch interactions on web apps, sometimes Android apps.
Sure it's possible to open it on the phone, but that's an extra step usually not justified.