The fact that people are working on it is no guarantee of success; that's what you don't seem to grasp. This attitude you take that it's inevitable and the rest of us are just "burying [our] heads in the sand" is condescending, rude, and ignorant of the uncertainty of the outcome.
The answer is two-fold: One, the real-world answer is it is likely to happen within 30 years, progress is being made all the time, which will bring the moral and technical implications into modern discourse way before the fictional one. It's not just me saying it, it's the experts. Why is Elon Musk investing in it? To keep humanity "in" on the AI equation.
The fictional answer is that of course, we've seen this explored many times, in this franchise itself: TNG, TOS. It allows us to discuss the moral and ethical implications in that context. No one realized in the 1960s it was coming so soon! The fact we have members here and others online saying the Golem is not real, that Picard is no longer Picard, etc is exactly what we should be talking about. I find that the bias we're seeing here by some is really telling.
RAMA