Australia to spend billions to counter China in Pacific islands