China remains the top military and cyber threat to the U.S., according to a report by U.S. intelligence agencies.