Energy-frugal and Interpretable AI Hardware Design using Learning Automata