Nations and companies around the world are being sucked into a running battle over the future of technology between the United States and China, forcing them to choose sides in a conflict that is fracturing global supply chains and pushing businesses out of lucrative markets.