The U.S. military has destroyed its last supplies of toxic firefighting foam at bases in Japan, officials said.