Struggling electric vehicle battery manufacturer Northvolt says it has filed for bankruptcy in Sweden.