Beijing will limit gallium and germanium exports from Aug. 1. Both metals are indispensable for producing some chips