Donald Trump’s post on Tim Cook’s succession announcement has prompted varied reactions.