Existence and Non-uniqueness of Global Weak Solutions to Inviscid Primitive and Boussinesq Equations