Luminar sells chip subsidiary as company files for bankruptcy