China has executed four people for causing the deaths of six people and running Myanmar-based scam and gambling operations worth more than $4bn, authorities said.