Lewis Hamilton told Ferrari they have "big, big problems" after he was pushed out of the lead by teammate Charles Leclerc at the Mexico City Grand Prix.