Although US foreign policy and intelligence decisions were more or less directly responsible for 9/11, you don't lecture people at Ground Zero about the dangers of blowback and not being aware of your government's activities.
There's no such thing as "condolences, but...", and Elon Musk has shown a pattern of this kind of tone-deafness before. Not to say he's not brilliant and not to say autonomous cars won't ultimately save many lives, just that he should either listen to his PR department if he overruled them, or fire his PR department if they did this without him.