* It's all really just off-the-shelf cameras, sensors, processors etc sourced from various suppliers. Of course we should acknowledge that the validation and alignment of these parts plays an important role, but there's not really any secret sauce there.
What I am saying is that Apple sells you a product. You own it. You can do whatever you want with it. Feel free to alter any part of it, just don't expect it to work or keep your warrantee. The fact the product has limitations out of the box is a different matter. (Kind of like no one complains that kitchen timer can't boil water, or doesn't have nanoseconds precision — you want those things, you buy a different thing or make your own.)
What Apple doesn't do is to restrict you in how you use their product. There's no such thing like "you can only non-commercially photograph your family" or "never resell your iPhone", or "detaching screen is illegal".
And, more importantly, there is nothing Apple can do to stop you from doing any of those things.
You own your iPhone and you rent your Tesla Autopilot it seems.