Physics-Informed Optimization Methods of Metasurface and Reconfigurable Antenna Inverse Design for Intelligent Sensing and Imaging Systems