Hollywood star Johnny Depp has apologized for joking about assassinating US President Donald Trump, saying his remarks were in "poor taste."