Fire claims shop and apartment in early-morning blaze