Jaguar Land Rover (JLR) has revealed plans to cut 500 jobs as it tries to save costs while battling a sharp decline in sales.