Japanese electronics stores have begun limiting how many hard-disk drives shoppers can buy while Chinese smartphone makers are warning of price increases.