Amateur video purports to show people taking cover as shots are fired in Istanbul after Turkey's military says it has seized power from President Tayyip Erdogan.