The United States justice department has filed criminal charges against four Chinese companies accused of trafficking materials used to create the addictive painkiller fentanyl.