Depending on the bike, the cranks were either installed at the factory or the bike shop. You should find out. If it's the bike company, they have a quality control issue. If it's the bike shop, they have a mechanic issue. Either way, it's a dangerous situation for you (and obviously a few other people).