The Trump administration has urged Taiwan to boost its defense spending amid China's rapid military buildup.