TOKYO - Japan's biggest banks are racing to adapt to changing business conditions amid a shrinking population and the spread of online banking.