Unveiling the anticancer and antimycobacterial potentials of bioengineered gold nanoparticles