Chief executive Elon Musk said he “had no mercy” for anyone using children’s deaths for political gain.