Extended anisotropic models in noncompact Kaluza–Klein theory