Kaluza-Klein theory in perspective