Japanese PM apologizes for gift scandal, risking budget delay and political fallout ahead of crucial elections.