They’ve have done so by making loans to African countries that they KNOW won’t be able to pay them back. Once the country defaults China exacts repayment by taking over an aspect of their infrastructure. They took an airport and an electric grid in Tanzania and a port in Kenya