India’s richest temple is now an investor in the country’s booming stock market