Si-based self-programming neuromorphic integrated circuits for intelligent morphing wings