Leading AI chipmaker took $4.5bn writedown after tightening US export controls banned sales of its key product