Prime Minister Sanae Takaichi was on course for a sweeping mandate from voters for her economic policies and tough stance on immigration and China.