Robust Hierarchically Structured Biphasic Ambipolar Oxide Photoelectrodes for Light‐Driven Chemical Regulation and Switchable Logic Applications