A retired US admiral visiting Taiwan has strongly urged the country to increase defense spending as it faces growing Chinese military pressure.