New York Attorney General Letitia James has warned about some risks associated with cryptocurrency investing