The Star Wars actor apologised and deleted the post, which contained an AI image of the president in a shallow grave.