President Barack Obama apologized to Japan after WikiLeaks claimed Washington had spied on Japanese politicians, a government spokesman said. Barack…