Apple is speeding up work on a project that could lead to the California tech giant building its own electric car.