US automaker’s struggle to improve margins has raised sharp questions about strategy and execution