Foxx couldn’t hide his shock over Diaz’s jab at the president-elect’s friendship with tech billionaire