Military analysts in Taiwan say China may be rehearsing an invasion as it surrounds the country with warships.