Apple boss Tim Cook joins Donald Trump condemnation