US President calls former Apple chief a 'legend' following Huang's sudden resignation