23andMe has filed for Chapter 11 bankruptcy protection and its co-founder and CEO Anne Wojcicki has resigned as the company continues its push to cut costs.