Driver dies after car bursts into flames